1+ excluded :
2+ - Tests
3+ - Package.swift
4+ - .build
5+
6+ # Rules
7+
8+ disabled_rules :
9+ - trailing_comma
10+ - todo
11+ - opening_brace
12+
13+ opt_in_rules : # some rules are only opt-in
14+ - anyobject_protocol
15+ - array_init
16+ - attributes
17+ - closure_body_length
18+ - closure_end_indentation
19+ - closure_spacing
20+ - collection_alignment
21+ - conditional_returns_on_newline
22+ - contains_over_filter_count
23+ - contains_over_filter_is_empty
24+ - contains_over_first_not_nil
25+ - contains_over_range_nil_comparison
26+ - convenience_type
27+ - discouraged_object_literal
28+ - discouraged_optional_boolean
29+ - empty_collection_literal
30+ - empty_count
31+ - empty_string
32+ - empty_xctest_method
33+ - enum_case_associated_values_count
34+ - explicit_init
35+ - fallthrough
36+ - fatal_error_message
37+ - file_name
38+ - file_types_order
39+ - first_where
40+ - flatmap_over_map_reduce
41+ - force_unwrapping
42+ - ibinspectable_in_extension
43+ - identical_operands
44+ - implicit_return
45+ - inert_defer
46+ - joined_default_parameter
47+ - last_where
48+ - legacy_multiple
49+ - legacy_random
50+ - literal_expression_end_indentation
51+ - lower_acl_than_parent
52+ - multiline_arguments
53+ - multiline_function_chains
54+ - multiline_literal_brackets
55+ - multiline_parameters
56+ - multiline_parameters_brackets
57+ - no_space_in_method_call
58+ - operator_usage_whitespace
59+ - optional_enum_case_matching
60+ - orphaned_doc_comment
61+ - overridden_super_call
62+ - override_in_extension
63+ - pattern_matching_keywords
64+ - prefer_self_type_over_type_of_self
65+ - prefer_zero_over_explicit_init
66+ - prefixed_toplevel_constant
67+ - private_action
68+ - prohibited_super_call
69+ - quick_discouraged_call
70+ - quick_discouraged_focused_test
71+ - quick_discouraged_pending_test
72+ - reduce_into
73+ - redundant_nil_coalescing
74+ - redundant_objc_attribute
75+ - redundant_type_annotation
76+ - required_enum_case
77+ - single_test_class
78+ - sorted_first_last
79+ - sorted_imports
80+ - static_operator
81+ - strict_fileprivate
82+ - switch_case_on_newline
83+ - toggle_bool
84+ - unavailable_function
85+ - unneeded_parentheses_in_closure_argument
86+ - unowned_variable_capture
87+ - untyped_error_in_catch
88+ - vertical_parameter_alignment_on_call
89+ - vertical_whitespace_closing_braces
90+ - vertical_whitespace_opening_braces
91+ - xct_specific_matcher
92+ - yoda_condition
93+
94+ force_cast : warning
95+ force_try : warning
96+
97+ identifier_name :
98+ excluded :
99+ - id
100+ - URL
101+
102+ analyzer_rules :
103+ - unused_import
104+ - unused_declaration
105+
106+ line_length :
107+ warning : 130
108+ error : 200
109+
110+ type_body_length :
111+ warning : 300
112+ error : 400
113+
114+ file_length :
115+ warning : 500
116+ error : 1200
117+
118+ function_body_length :
119+ warning : 30
120+ error : 50
121+
122+ large_tuple :
123+ error : 3
124+
125+ nesting :
126+ type_level :
127+ warning : 2
128+ statement_level :
129+ warning : 10
130+
131+
132+ type_name :
133+ max_length :
134+ warning : 40
135+ error : 50
0 commit comments