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
+31-23Lines changed: 31 additions & 23 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,35 @@ 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
+
- convenience_type
77
+
- overridden_super_call
78
+
- redundant_type_annotation
79
+
- sorted_first_last
80
+
- static_operator
81
+
- toggle_bool
82
+
- unowned_variable_capture
83
+
- unused_import
84
+
- vertical_whitespace_closing_braces
85
+
- single_test_class
86
+
- strong_iboutlet
57
87
58
88
# rule parameters
59
89
file_length:
@@ -86,23 +116,6 @@ large_tuple:
86
116
warning: 4
87
117
error: 6
88
118
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
fatalError("Xcode Version mismatch: please open Project with Xcode \(projectXcodeVersion) or change Xcode Version in Config.json")
39
+
print("\(projectPath):1:1: warning: Xcode Version does not match Config.json. Please consider using Xcode-\(projectXcodeVersion) or change Config.json")
0 commit comments