-
Notifications
You must be signed in to change notification settings - Fork 9
/
.swiftlint.yml
92 lines (73 loc) · 1.47 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
excluded:
- Pods
- GeneratedFiles
- vendor
- CouchTrackerCoreTests
- CouchTrackerSyncTests
- CouchTrackerUITests
- CouchTrackerAppTestable
- TraktSwiftTests
- TraktSwiftTestable
- TMDBSwiftTests
- TMDBSwiftTestable
- TVDBSwiftTests
- TVDBSwiftTestable
- CouchTrackerPlayground.playground
- Carthage/
opt_in_rules:
- force_unwrapping
- force_cast
- force_try
- anyobject_protocol
- empty_count
- empty_string
- explicit_init
- implicit_return
- implicitly_unwrapped_optional
- literal_expression_end_indentation
- redundant_nil_coalescing
- redundant_type_annotation
- unused_import
- yoda_condition
- closure_end_indentation
disabled_rules:
- large_tuple
indentation: 2
type_name:
excluded:
- S # Used for cleaner access to private and static properties
identifier_name:
severity: error
excluded:
- id
- a # Used for generic functions
- b # Used for generic functions
- Current
yoda_condition:
severity: error
unused_import:
severity: error
redundant_type_annotation:
severity: error
redundant_nil_coalescing:
severity: error
literal_expression_end_indentation:
severity: error
implicitly_unwrapped_optional:
severity: error
implicit_return:
severity: error
explicit_init:
severity: error
empty_string:
severity: error
empty_count:
severity: error
anyobject_protocol:
severity: error
force_unwrapping:
severity: error
force_cast:
severity: error
force_try:
severity: error