-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.swiftlint.yml
60 lines (58 loc) · 1.39 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
included:
- ./tealium
excluded:
- ./builder/Tests/SwiftLintFrameworkTests/Resources
- ./tealium/core/DiskStorage/Disk/
- ./tealium/core/utils/AnyCodable/
- ./tealium/core/utils/Data+Gzip/
- ./builder/iOSTealiumMediaTest/
- ./builder/iOSTealiumTest/
- ./builder/macOSTealiumTest/
- ./builder/tvOSTealiumTest/
disabled_rules:
- trailing_comma
- unused_optional_binding
- file_header
opt_in_rules:
- file_length
- force_unwrapping
- explicit_init
- closure_spacing
- overridden_super_call
- redundant_nil_coalescing
- private_outlet
- nimble_operator
- attributes
- operator_usage_whitespace
- closure_end_indentation
- first_where
- sorted_imports
- object_literal
- prohibited_super_call
- fatal_error_message
- vertical_parameter_alignment_on_call
- unneeded_parentheses_in_closure_argument
- extension_access_modifier
- pattern_matching_keywords
- array_init
- literal_expression_end_indentation
- number_separator
file_length:
warning: 500
identifier_name:
excluded:
- id
line_length:
warning: 200
error: 500
ignores_comments: true
number_separator:
minimum_length: 5
large_tuple: 4
custom_rules:
any_observable_generics:
included: ./tealium
name: ToAnyObservable Generics
message: ToAnyObservable must always specify Generics type to avoid compile issues
regex: \@ToAnyObservable\s*\(
severity: error