-
Notifications
You must be signed in to change notification settings - Fork 16
/
.swiftlint.yml
61 lines (57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
opt_in_rules:
- closure_spacing
- force_unwrapping
- private_unit_test
- overridden_super_call
- redundant_nil_coalescing
- attributes
- empty_parameters
- explicit_init
- first_where
- operator_usage_whitespace
- prohibited_super_call
- empty_count
- fatal_error_message
- conditional_returns_on_newline
- explicit_top_level_acl
- implicitly_unwrapped_optional
- object_literal
- private_outlet
- switch_case_on_newline
- array_init
- contains_over_first_not_nil
- empty_string
- implicit_return
- joined_default_parameter
- unneeded_parentheses_in_closure_argument
disabled_rules:
- large_tuple
- identifier_name # does not work in Xcode 10 beta
excluded:
- Carthage
- tdjson
- TDLib/Generated
- vendor
- bundle
- fastlane
identifier_name:
min_length:
warning: 2
excluded:
- id
- x
- y
allExceptIBOutlets:
mode: all
trailing_whitespace:
ignores_empty_lines: true
line_length:
ignores_comments: true
warning: 150
error: 300
nesting:
type_level:
warning: 5
type_name:
excluded:
- Ok