-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swiftlint.yml
46 lines (40 loc) · 1.07 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
identifier_name:
allowed_symbols: ["_"]
validates_start_with_lowercase: false
min_length:
warning: 2
type_name:
validates_start_with_lowercase: false
line_length:
warning: 200
error: 300
ignores_function_declarations: true
ignores_comments: true
ignores_interpolated_strings: true
ignores_urls: true
disabled_rules: # rule identifiers to exclude from running
- colon
- comma
- control_statement
- unused_optional_binding
- opening_brace
- trailing_whitespace
- unneeded_break_in_switch
- force_try
- syntactic_sugar
- vertical_whitespace
- force_cast
- cyclomatic_complexity
- implicit_getter
- legacy_constructor
- function_body_length
opt_in_rules: # some rules are only opt-in
- empty_count
- missing_docs
# Find all the available rules by running:
# swiftlint rules
included: # paths to include during linting. `--path` is ignored if present.
- Source
- findT
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods