forked from optimizely/swift-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
51 lines (51 loc) · 873 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
50
51
disabled_rules:
- trailing_whitespace
- force_cast
- empty_count
- todo
- implicit_getter
- private_over_fileprivate
- inclusive_language
opt_in_rules:
- empty_string
excluded:
- Carthage
- Pods
- SwiftLint/Common/3rdPartyLib
- Tests
line_length:
warning: 350
error: 400
ignores_function_declarations: true
ignores_comments: true
ignores_urls: true
function_body_length:
warning: 300
error: 500
function_parameter_count:
warning: 10
error: 10
type_body_length:
warning: 500
error: 500
file_length:
warning: 1000
error: 1500
ignore_comment_only_lines: true
cyclomatic_complexity:
warning: 20
error: 25
type_name:
min_length: 1
identifier_name:
allowed_symbols: "_"
min_length: 1
max_length:
warning: 90
error: 1000
excluded:
- id
large_tuple:
warning: 4
error: 5
reporter: "xcode"