-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
59 lines (49 loc) · 1.01 KB
/
.swiftlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
excluded:
- .build
opt_in_rules:
- array_init
- attributes
- closure_end_indentation
- closure_spacing
- empty_count
- explicit_init
- extension_access_modifier
- fatal_error_message
- first_where
- let_var_whitespace
- literal_expression_end_indentation
- nimble_operator
- operator_usage_whitespace
- overridden_super_call
- pattern_matching_keywords
- private_outlet
- prohibited_super_call
- redundant_nil_coalescing
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
disabled_rules:
- multiple_closures_with_trailing_closure
- optional_data_string_conversion
- vertical_parameter_alignment_on_call
- void_return
identifier_name:
excluded:
- id
type_name:
excluded:
- ID
function_body_length: 50
line_length: 200
file_length:
warning: 500
error: 1000
nesting:
type_level:
warning: 2
function_level:
warning: 10
large_tuple:
warning: 6
error: 10
cyclomatic_complexity:
ignores_case_statements: true