-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
54 lines (43 loc) · 737 Bytes
/
Copy path.swiftlint.yml
File metadata and controls
54 lines (43 loc) · 737 Bytes
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
included:
- MineBar/MineBar
excluded:
- MineBar/MineBar/Assets.xcassets
# Rules
disabled_rules:
- trailing_whitespace
- trailing_comma
opt_in_rules:
- unused_import
- force_unwrapping
- redundant_type_annotation
- empty_count
- closure_spacing
- overridden_super_call
- discouraged_optional_boolean
line_length:
warning: 160
error: 200
type_body_length:
warning: 400
error: 600
file_length:
warning: 500
error: 1000
function_body_length:
warning: 80
error: 150
cyclomatic_complexity:
warning: 15
error: 25
identifier_name:
min_length:
warning: 2
error: 1
allowed_symbols: ["_"]
excluded:
- id
- ip
large_tuple:
warning: 4
force_unwrapping:
severity: warning