-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.swiftlint.yml
More file actions
49 lines (44 loc) · 895 Bytes
/
.swiftlint.yml
File metadata and controls
49 lines (44 loc) · 895 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
48
49
disabled_rules:
- cyclomatic_complexity
- multiple_closures_with_trailing_closure
- todo
analyzer_rules:
- unused_import
opt_in_rules:
- sorted_imports
- strong_iboutlet
- private_action
- private_outlet
trailing_whitespace:
ignores_empty_lines: true
vertical_whitespace:
max_empty_lines: 2
line_length:
warning: 180
ignores_urls: true
ignores_interpolated_strings: true
large_tuple:
warning: 3
error: 4
identifier_name:
max_length:
warning: 60
min_length:
warning: 1
error: 1
allowed_symbols: ["_"]
type_name:
allowed_symbols: ["_"]
max_length:
warning: 50
nesting:
type_level: 2
custom_rules:
todo_format:
match_kinds: comment
severity: warning
message: >
TODO comments must have a valid ticket number raised in Jira.
Please use the format:
// TODO: DCMAW-000
regex: "(?i)(todo(?!(.*dcmaw-\\d{2,})))"