File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # rule identifiers to exclude from running
2- disabled_rules :
3- - line_length
4-
5- # some rules are only opt-in
61opt_in_rules :
7- # Find all the available rules by running:
8- # swiftlint rules
9-
2+ - anyobject_protocol
3+ - closure_spacing
4+ - contains_over_first_not_nil
5+ - convenience_type
6+ - empty_count
7+ - empty_string
8+ - empty_xctest_method
9+ - explicit_init
10+ - fallthrough
11+ - fatal_error_message
12+ - file_name
13+ - first_where
14+ - force_unwrapping
15+ - implicit_return
16+ - let_var_whitespace
17+ - literal_expression_end_indentation
18+ - operator_usage_whitespace
19+ - overridden_super_call
20+ - override_in_extension
21+ - private_action
22+ - private_outlet
23+ - prohibited_super_call
24+ - single_test_class
25+ - sorted_imports
26+ - toggle_bool
27+ - unused_import
28+ - unused_private_declaration
1029
11- # paths to include during linting. `--path` is ignored if present.
1230included :
13-
1431
15- # paths to ignore during linting. Takes precedence over `included`.
16- excluded :
17-
18-
19- # configurable rules can be customized from this configuration file
20- # binary rules can set their severity level
2132force_cast : warning
33+
34+ identifier_name :
35+ min_length : 2
36+
37+ line_length : 160
38+
39+ disabled_rules :
40+ - nesting
41+ - custom_rules
You can’t perform that action at this time.
0 commit comments