-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
50 lines (48 loc) · 1.24 KB
/
.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
excluded:
- R.generated.swift
- Pods
- Carthage
disabled_rules:
- line_length
- trailing_whitespace
- trailing_newline
- todo
- type_name
- legacy_constant
- force_cast
# disabled_rules: # rule identifiers to exclude from running
# - colon
# - control_statement
# - file_length
# - force_cast
# - 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
# included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`.
# - Source
# excluded: # paths to ignore during linting. overridden by `included`.
# - Carthage
# - Pods
# # parameterized rules can be customized from this configuration file
# line_length: 110
# # parameterized rules are first parameterized as a warning level, then error level.
# type_body_length:
# - 300 # warning
# - 400 # error
# # parameterized rules are first parameterized as a warning level, then error level.
# variable_name_max_length:
# - 40 # warning
# - 60 # error
# # parameterized rules are first parameterized as a warning level, then error level.
variable_name_min_length:
- 2 # warning
# - 1 # error