-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.swiftlint.yml
63 lines (52 loc) · 931 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
included:
- NuguInterface/Sources
- NuguCore/Sources
- NuguClientKit/Sources
- NuguLoginKit/Sources
- NuguUIKit/Sources
- NuguServiceKit/Sources
- JadeMarble/Sources
- KeenSense/Sources
- SampleApp/Sources
- NuguAgents/Sources
excluded: # paths to ignore during linting. Takes precedence over `included`.
- NuguTests
- NuguUIKit/Sources/MarqueeLabel
disabled_rules: # rule identifiers to exclude from running
- trailing_whitespace
identifier_name:
min_length: # only min_length
- 3
- 2
excluded: # excluded via string array
- id
- on
- cp
- bg
- to
- up
- im
- qa
- ok
nesting:
type_level:
warning: 4
statement_level:
warning: 10
type_body_length:
- 300 # warning
- 400 # error
file_length:
- 2000
- 3000
line_length:
- 240
function_body_length:
- 100
- 500
cyclomatic_complexity:
- 20
- 30
large_tuple:
- 4
- 6