0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
libsignal/swift/.swiftlint.yml
Alex Konradi 6b50a95bc9
Fix swift linting issues
Fix an existing issue caught by the linter and exclude files generated during
build from linting (since some of them are missing header comments required by
the linter).
2023-12-04 14:27:52 -05:00

26 lines
501 B
YAML

disabled_rules:
- cyclomatic_complexity
- empty_enum_arguments
- force_try
- function_body_length
- function_parameter_count
- identifier_name
- line_length
- redundant_optional_initialization
- trailing_comma
- type_body_length
opt_in_rules:
- attributes
- file_header
file_header:
required_pattern: |
//
// Copyright \d{4}(-\d{4})? Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//
inclusive_language:
override_allowed_terms:
- master
excluded:
- .build/**