-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.swiftlint.yml
More file actions
38 lines (38 loc) · 785 Bytes
/
Copy path.swiftlint.yml
File metadata and controls
38 lines (38 loc) · 785 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
disabled_rules: # rule identifiers to exclude from running
- force_cast
- force_try
- function_parameter_count
- line_length
- todo
- trailing_comma
- identifier_name
included:
- Sources/
excluded: # paths to ignore during linting.
type_body_length:
- 400 # warning
- 500 # error
function_body_length:
- 150 # warning
- 200 # error
file_length:
warning: 600 # warning
error: 1000 # error
type_name:
max_length:
warning: 60 # warning
error: 80 # error
vertical_whitespace:
severity: error
trailing_newline:
severity: error
identifier_name:
min_length: # not possible to disable this partial rule, so set it to zero
warning: 0
error: 0
max_length:
warning: 60 # warning
error: 80 # error
excluded:
- id
- e