forked from AckeeCZ/ACKategories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
35 lines (35 loc) · 826 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
whitelist_rules:
- class_delegate_protocol
- closing_brace
- colon
- comma
- cyclomatic_complexity
- empty_enum_arguments
- file_length
- force_cast
- force_unwrapping
- function_body_length
- todo
- trailing_semicolon
- trailing_whitespace
- vertical_whitespace
- weak_delegate
- overridden_super_call
included: # paths to include during linting. `--path` is ignored if present.
- ACKategoriesCore
- ACKategories-iOS
- ACKategoriesExample
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
force_cast: warning # implicitly
function_body_length:
- 100 # warning
- 300 # error
type_body_length:
- 300 # warning
- 500 # error
file_length:
warning: 500
error: 1200
# reporter: "csv" # reporter type (xcode, json, csv, checkstyle)