forked from breadwallet/breadwallet-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
47 lines (43 loc) · 855 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
disabled_rules:
- trailing_whitespace
- identifier_name
- large_tuple
- weak_delegate
- todo
- comment_spacing
opt_in_rules:
- empty_count
- empty_string
- multiline_parameters
excluded:
- Modules
- Screenshots
- breadwalletTests
- breadwalletUITests
- breadwallet/src/Constants/Strings.swift
- breadwallet/*.pb.swift # ProtoBuf generated files
line_length:
warning: 170
ignores_comments: true
ignores_urls: true
function_body_length:
warning: 300
error: 500
function_parameter_count:
warning: 6
error: 8
type_body_length:
warning: 300
error: 500
file_length:
warning: 1000
error: 1500
ignore_comment_only_lines: true
cyclomatic_complexity:
warning: 15
error: 25
ignores_case_statements: true
nesting:
type_level: 2
statement_level: 5
reporter: "xcode"