TM-SGNL-iOS/.swiftlint.yml
TeleMessage developers dde0620daf initial commit
2025-05-03 12:28:28 -07:00

55 lines
1.2 KiB
YAML

excluded:
- Pods
- ThirdParty
- SignalServiceKit/Protos/Generated
- SignalServiceKit/protobuf/Backups
# SwiftLint has trouble with these files. See <https://github.com/realm/SwiftLint/issues/3988>.
- Signal/Emoji/Emoji+SkinTones.swift
- Signal/Emoji/EmojiWithSkinTones+String.swift
disabled_rules:
- block_based_kvo
- compiler_protocol_init
- control_statement
- cyclomatic_complexity
- empty_enum_arguments
- file_length
- for_where
- force_cast
- force_try
- function_body_length
- function_parameter_count
- identifier_name
- line_length
- multiple_closures_with_trailing_closure
- nesting
- no_fallthrough_only
- non_optional_string_data_conversion
- notification_center_detachment
- opening_brace
- redundant_void_return
- static_over_final_class
- todo
- trailing_comma
- type_body_length
- unneeded_synthesized_initializer
- unused_closure_parameter
- unused_optional_binding
opt_in_rules:
- comma_inheritance
- empty_string
- sorted_first_last
inclusive_language:
override_allowed_terms: ["master", "whitelist"]
large_tuple:
warning: 4
error: 4
type_name:
min_length:
warning: 2
error: 2
max_length:
warning: 500
error: 500
excluded:
- Id
allowed_symbols: ["_"]