forked from evermeer/AttributedTextView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
70 lines (55 loc) · 801 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
59
60
61
62
63
64
65
66
67
68
69
70
disabled_rules:
- trailing_whitespace
- variable_name
- type_name
- variable_name_min_length
- type_body_length
#- opening_brace
#- comma
#- colon
#- control_statement
#- statement_position
#opt_in_rules:
#- empty_count
#- missing_docs
excluded:
- Pods/
- Sparen/Common/Generated/
- Sparen/Resources
- GlobalAPIKey
- _name
force_cast: warning
force_try: warning
function_parameter_count:
- 5
- 12
function_body_length:
- 50
- 120
cyclomatic_complexity:
- 20
- 60
line_length:
- 200
- 800
type_body_length:
- 500
- 1000
file_length:
- 500
- 2000
type_name:
min_length:
warning: 5
error: 2
max_length:
warning: 40
error: 60
variable_name:
min_length:
warning: 5
error: 2
max_length:
warning: 80
error: 50
#reporter: "csv" # reporter type (xcode, json, csv, checkstyle)