-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.swiftlint.yml
More file actions
47 lines (38 loc) · 708 Bytes
/
Copy path.swiftlint.yml
File metadata and controls
47 lines (38 loc) · 708 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
40
41
42
43
44
45
46
47
# SwiftLint configuration for cdv2spm project
# Paths to include during linting. `--path` is ignored if present.
included:
- Sources
- Tests
# Paths to ignore during linting. Takes precedence over `included`.
excluded:
- .build
- .swiftpm
- dist
- Package.resolved
# Rules configuration
opt_in_rules:
- empty_count
- trailing_newline
- colon
- comma
disabled_rules:
- trailing_whitespace
# Rule configurations
line_length:
warning: 120
error: 150
function_body_length:
warning: 50
error: 100
type_body_length:
warning: 200
error: 300
file_length:
warning: 500
error: 800
identifier_name:
min_length:
warning: 2
max_length:
warning: 40
error: 50