-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.swiftlint.yml
More file actions
39 lines (33 loc) · 593 Bytes
/
.swiftlint.yml
File metadata and controls
39 lines (33 loc) · 593 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
# SwiftLint Configuration
# Directories to include during linting
included:
- wled
- wledTests
# Directories to exclude from linting
excluded:
- Pods
- build
- .build
- DerivedData
# Disabled rules
disabled_rules:
- trailing_whitespace
- line_length
- identifier_name
- type_name
- function_body_length
- file_length
- todo
# Opt-in rules
opt_in_rules:
- empty_count
- force_unwrapping
- overridden_super_call
- redundant_nil_coalescing
# Configurable rules
cyclomatic_complexity:
warning: 15
error: 25
type_body_length:
warning: 300
error: 500