-
Notifications
You must be signed in to change notification settings - Fork 6
/
.swiftlint.yml
49 lines (43 loc) · 738 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
disabled_rules:
- trailing_comma
opt_in_rules:
- anyobject_protocol
- array_init
- capture_variable
- collection_alignment
- contains_over_filter_count
- contains_over_filter_is_empty
- empty_collection_literal
- empty_string
file_length:
ignore_comment_only_lines: true
function_body_length:
warning: 50
error: 125
identifier_name:
min_length:
warning: 2
error: 1
max_length:
warning: 80
error: 100
allowed_symbols:
- '_'
line_length:
warning: 160
error: 240
ignores_comments: true
nesting:
type_level: 2
function_level: 3
type_name:
min_length:
warning: 2
error: 1
max_length:
warning: 80
error: 100
allowed_symbols:
- '_'
excluded:
- ''