-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.swiftlint.yml
81 lines (57 loc) · 1.03 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
excluded:
- Pods
swiftlint_version: 0.52.0
opt_in_rules:
- anyobject_protocol
- file_header
- empty_string
disabled_rules:
- multiple_closures_with_trailing_closure
- todo
- trailing_comma
- type_body_length
- comment_spacing
- empty_enum_arguments
anyobject_protocol:
severity: error
colon:
severity: error
comma:
severity: error
control_statement:
severity: error
cyclomatic_complexity:
ignores_case_statements: true
file_length:
error: 400
function_body_length:
warning: 80
error: 120
identifier_name:
min_length: 1
line_length:
warning: 300
error: 600
nesting:
type_level: 3
opening_brace:
severity: error
redundant_string_enum_value:
severity: error
statement_position:
severity: error
trailing_semicolon:
severity: error
trailing_whitespace:
ignores_empty_lines: true
severity: error
type_name:
excluded: ID
unused_optional_binding:
severity: error
vertical_parameter_alignment:
severity: error
vertical_whitespace:
severity: error
weak_delegate:
severity: error