-
Notifications
You must be signed in to change notification settings - Fork 134
/
Copy path.swiftlint.yml
67 lines (63 loc) · 1.43 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
excluded:
- Pods
force_cast: warning
force_try: warning
disabled_rules:
- type_name
- trailing_comma
- identifier_name
- force_cast
- force_try
- force_unwrapping
- private_outlet
- unneeded_parentheses_in_closure_argument
- empty_count
- line_length
- conditional_returns_on_newline
- attributes
- function_body_length
- closure_parameter_position
- for_where
- control_statement
- closure_spacing
- trailing_closure
- implicitly_unwrapped_optional
- closure_end_indentation
- unneeded_break_in_switch
- number_separator
- operator_usage_whitespace
- vertical_parameter_alignment
- implicit_getter
- valid_ibinspectable
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: 300
# Some improbably large number because we don't want compile errors
# just because of style problems
error: 300
ignores_urls: true