0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
libsignal/swift/.swiftlint.yml
2024-05-17 11:30:24 -07:00

28 lines
526 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
nesting:
type_level: 2
excluded:
- .build/**