-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
49 lines (44 loc) · 1.05 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
excluded:
- Pods
disabled_rules:
- type_name
- valid_docs
- trailing_comma
- :discouraged_object_literal
opt_in_rules:
- array_init
- attributes
- closure_end_indentation
- closure_spacing
- compiler_protocol_init
- conditional_returns_on_newline
- contains_over_first_not_nil
- empty_count
- explicit_init
- fatal_error_message
- first_where
- force_unwrapping
- implicitly_unwrapped_optional
- joined_default_parameter
- nimble_operator
- number_separator
- operator_usage_whitespace
- pattern_matching_keywords
- private_outlet
- redundant_nil_coalescing
- single_test_class
- sorted_first_last
- trailing_closure
- unneeded_parentheses_in_closure_argument
- yoda_condition
line_length:
warning: 120
# Some improbably large number because we don't want compile errors
# just because of style problems
error: 300
ignores_urls: true
discouraged_image_literal:
name: "Discouraged Image Literal"
regex: "#imageLiteral"
message: "Please use UIImage(named:) instead"
severity: warning