File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
2
2
3
3
excluded :
4
+ - .bundle
4
5
- Carthage
5
6
- fastlane
7
+
6
8
opt_in_rules :
7
9
- array_init
8
10
- attributes
9
11
- closure_end_indentation
10
12
- closure_spacing
13
+ - collection_alignment
11
14
- conditional_returns_on_newline
12
15
- contains_over_first_not_nil
13
16
- convenience_type
@@ -27,11 +30,13 @@ opt_in_rules:
27
30
- implicit_return
28
31
- implicitly_unwrapped_optional
29
32
- joined_default_parameter
33
+ - legacy_random
30
34
- let_var_whitespace
31
35
- literal_expression_end_indentation
32
36
- lower_acl_than_parent
33
37
- modifier_order
34
38
- multiline_function_chains
39
+ - multiline_literal_brackets
35
40
- operator_usage_whitespace
36
41
- overridden_super_call
37
42
- override_in_extension
@@ -43,11 +48,16 @@ opt_in_rules:
43
48
- redundant_type_annotation
44
49
- single_test_class
45
50
- sorted_first_last
51
+ - static_operator
46
52
- switch_case_on_newline
53
+ - toggle_bool
47
54
- unavailable_function
48
55
- untyped_error_in_catch
56
+ - unused_import
57
+ - unused_private_declaration
49
58
- vertical_parameter_alignment_on_call
50
59
- yoda_condition
60
+
51
61
disabled_rules :
52
62
- identifier_name
53
63
- line_length
@@ -59,6 +69,14 @@ cyclomatic_complexity:
59
69
function_body_length :
60
70
warning : 50
61
71
72
+ line_length :
73
+ ignores_function_declarations : true
74
+ ignores_interpolated_strings : true
75
+
76
+ nesting :
77
+ type_level :
78
+ warning : 2
79
+
62
80
trailing_comma :
63
81
mandatory_comma : true
64
82
You can’t perform that action at this time.
0 commit comments