-
-
Notifications
You must be signed in to change notification settings - Fork 195
/
.swiftlint.yml
38 lines (34 loc) · 904 Bytes
/
.swiftlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
excluded:
- .build
- Tests/Fixtures
- Tests/AccessibilityTests/AccessibilityProject
- Tests/XcodeTests/UIKitProject
- Tests/XcodeTests/SwiftUIProject
opt_in_rules:
- single_test_class
disabled_rules:
# Formatting is handled by SwiftFormat
- trailing_comma
- opening_brace
- vertical_parameter_alignment_on_call
- let_var_whitespace
- indentation_width
- attributes
- anonymous_argument_in_multiline_closure
- vertical_whitespace_between_cases
# Length/size rules
- cyclomatic_complexity
- closure_body_length
- function_body_length
- type_body_length
- file_length
- line_length
- identifier_name
- type_name
- large_tuple
- function_parameter_count
# Other
- discouraged_optional_collection
- non_optional_string_data_conversion # https://github.com/realm/SwiftLint/issues/5263#issuecomment-2115182747
- balanced_xctest_lifecycle
- todo