forked from Instagram/IGListKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
59 lines (49 loc) · 823 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
included:
- Examples
- Source/IGListSwiftKit
excluded:
- Pods
opt_in_rules:
- empty_count
- number_separator
- operator_usage_whitespace
- sorted_imports
- vertical_parameter_alignment_on_call
- overridden_super_call
disabled_rules:
- force_unwrapping
- comma
- line_length
force_cast: warning
force_try: warning
weak_delegate: error
type_body_length:
warning: 300
error: 400
file_length:
warning: 500
error: 1200
type_name:
min_length: 4
max_length:
warning: 40
error: 50
excluded: iPhone
identifier_name:
min_length:
error: 4
excluded:
- id
- url
- URL
- pk
- day
- map
- row
- nib
- GlobalAPIKey
- to
- obj
- str
- set
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji)