forked from microsoft/EmbeddedSocial-iOS-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
56 lines (44 loc) · 836 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
included:
- EmbeddedSocial
excluded:
- Carthage
- Pods
- EmbeddedSocial/Sources/Generated
- EmbeddedSocial/Vendor
disabled_rules: # rule identifiers to exclude from running
- trailing_whitespace
- identifier_name
- operator_whitespace
opt_in_rules: # some rules are only opt-in
- empty_count
- closure_end_indentation
- closure_spacing
- conditional_returns_on_newline
- empty_enum_arguments
- first_where
- mark
force_cast: warning
force_try: warning
line_length:
warning: 130
error: 200
type_body_length:
warning: 300
error: 400
file_length:
warning: 500
error: 1200
function_body_length:
warning: 30
error: 50
large_tuple:
error: 3
nesting:
type_level:
warning: 2
statement_level:
warning: 10
type_name:
max_length:
warning: 40
error: 50