You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SwiftLint/swiftlint.yml
+40-41Lines changed: 40 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ disabled_rules:
15
15
- switch_case_alignment
16
16
- empty_enum_arguments # case .unexpectedSituation(_): ... is not allowed
17
17
- duplicate_enum_cases
18
+
- identifier_name
18
19
19
20
# paths to ignore during linting. overridden by `included`.
20
21
excluded:
@@ -54,6 +55,39 @@ opt_in_rules:
54
55
- identical_operands
55
56
- collection_alignment
56
57
- empty_xctest_method
58
+
- array_init
59
+
- contains_over_filter_count
60
+
- contains_over_filter_is_empty
61
+
- contains_over_first_not_nil
62
+
- empty_collection_literal
63
+
- empty_string
64
+
- explicit_self
65
+
- file_name
66
+
- for_where
67
+
- joined_default_parameter
68
+
- last_where
69
+
- legacy_multiple
70
+
- literal_expression_end_indentation
71
+
- lower_acl_than_parent
72
+
- modifier_order
73
+
- multiline_arguments
74
+
- multiline_function_chains
75
+
- multiline_literal_brackets
76
+
- multiline_parameters_brackets
77
+
- object_literal
78
+
- overridden_super_call
79
+
- redundant_type_annotation
80
+
- sorted_first_last
81
+
- static_operator
82
+
- toggle_bool
83
+
- unowned_variable_capture
84
+
- unused_import
85
+
- vertical_parameter_alignment_on_call
86
+
- vertical_whitespace_closing_braces
87
+
- convenience_type
88
+
- number_separator
89
+
- single_test_class
90
+
- strong_iboutlet
57
91
58
92
# rule parameters
59
93
file_length:
@@ -86,23 +120,6 @@ large_tuple:
86
120
warning: 4
87
121
error: 6
88
122
89
-
identifier_name:
90
-
excluded:
91
-
- to
92
-
- id
93
-
- by
94
-
- of
95
-
- at
96
-
- in
97
-
- !stron
98
-
- x
99
-
- y
100
-
- L
101
-
# Allow the usage of underscores at the start of variables or constants. The lowercase check has currently to be disabled as "_" isn't considered as lowercase character
0 commit comments