forked from coshx/caravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swiftlint.yml
39 lines (39 loc) · 850 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
disabled_rules: # rule identifiers to exclude from running
# - colon
# - control_statement
- closing_brace
- file_length
- force_cast
- force_try
- function_body_length
# - leading_whitespace
- line_length
# - nesting
# - operator_whitespace
# - return_arrow_whitespace
# - todo
- trailing_newline
- trailing_whitespace
# - type_body_length
# - type_name
- variable_name
- variable_name_min_length
# - variable_name_max_length
included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`.
- caravel
excluded: # paths to ignore during linting. overridden by `included`.
# - Carthage
# - Pods
# - R.generated.swift
line_length:
- 150
- 500
function_body_length:
- 80
- 200
type_body_length:
- 400 # warning
- 1000 # error
nesting:
- 3
- 5