-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
82 lines (66 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
81
82
disabled_rules:
- trailing_comma
- vertical_whitespace
- trailing_whitespace
- unused_closure_parameter
- closure_parameter_position
- missing_docs
- todo
- colon
leading_whitespace:
severity: error
opt_in_rules:
- empty_count
- missing_docs
included:
- Projects/${TARGET_NAME}
excluded:
- Pods
analyzer_rules:
- unused_import
- unused_declaration
force_cast: error
force_try:
severity: error
cyclomatic_complexity:
- 20
line_length:
- 120
function_body_length:
- 100
- 200
function_parameter_count:
- 10
- 15
large_tuple:
- 6
- 12
type_body_length:
- 300
- 400
file_length:
warning: 500
error: 1000
type_name:
min_length: 3
max_length:
warning: 40
error: 50
identifier_name:
min_length:
error: 2
warning: 3
excluded:
- id
- x
- y
- f
- xs
- s
- m
- l
- xl
allowed_symbols:
- _
validates_start_with_lowercase: false
reporter: "xcode" # 보고 유형 (xcode, json, csv, checkstyle, junit, html, emoji, markdown)