-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
58 lines (48 loc) · 995 Bytes
/
.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
excluded:
- .build
opt_in_rules:
- empty_count
- explicit_init
- closure_spacing
- overridden_super_call
- redundant_nil_coalescing
- private_outlet
- nimble_operator
- attributes
- operator_usage_whitespace
- closure_end_indentation
- first_where
- prohibited_super_call
- fatal_error_message
- vertical_parameter_alignment_on_call
- let_var_whitespace
- unneeded_parentheses_in_closure_argument
- extension_access_modifier
- pattern_matching_keywords
- array_init
- literal_expression_end_indentation
disabled_rules:
- void_return
- multiple_closures_with_trailing_closure
- vertical_parameter_alignment_on_call
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