File tree Expand file tree Collapse file tree 1 file changed +32
-51
lines changed Expand file tree Collapse file tree 1 file changed +32
-51
lines changed Original file line number Diff line number Diff line change 11disabled_rules :
22 - line_length
3- - trailing_comma
4- - redundant_discardable_let
3+ - identifier_name
4+ - nesting
5+ - type_name
6+ - explicit_enum_raw_value
7+ - file_length
8+ - function_body_length
9+ - redundant_discardable_let # Preserve 'let _ =' in result builder contexts (required for Swift 6.0+)
510
611opt_in_rules :
12+ - empty_count
713 - explicit_init
14+ - sorted_imports
15+ - force_cast
16+ - force_try
817 - closure_spacing
9- - empty_count
10- - empty_string
11- - fatal_error_message
12- - first_where
13- - joined_default_parameter
1418 - operator_usage_whitespace
15- - overridden_super_call
16-
19+ - private_outlet
20+ - redundant_nil_coalescing
21+ - empty_string
22+ - literal_expression_end_indentation
23+ - single_test_class
24+ - sorted_first_last
25+ - vertical_whitespace
26+ - strict_fileprivate
27+ - legacy_random
28+ - no_extension_access_modifier
29+ - colon
30+ - trailing_comma
31+
1732included :
33+ - Package.swift
1834 - Sources
1935 - Tests
2036
2137excluded :
22- - .build
2338 - Carthage
2439 - Pods
2540 - fastlane
41+ - build
2642
27- # Type body length settings
28- type_body_length :
29- warning : 500
30- error : 600
31-
32- # File length settings
33- file_length :
34- warning : 800
35- error : 1000
36- ignore_comment_only_lines : true
37-
38- # Function body length settings
39- function_body_length :
40- warning : 100
41- error : 120
42-
43- # Function parameter count
44- function_parameter_count :
45- warning : 6
46- error : 8
47-
48- # Cyclomatic complexity
49- cyclomatic_complexity :
50- warning : 15
51- error : 20
43+ analyzer_rules :
44+ - unused_import
5245
53- # Identifier name settings
54- identifier_name :
55- min_length :
56- warning : 2
57- max_length :
58- warning : 50
59- error : 60
60- excluded :
61- - id
62- - URL
63- - to
64- - db
46+ colon :
47+ apply_to_dictionaries : true
6548
66- # Type name settings - allow RFC_XXXX pattern
67- type_name :
68- allowed_symbols :
69- - " _"
49+ vertical_whitespace :
50+ max_empty_lines : 1
You can’t perform that action at this time.
0 commit comments