-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
61 lines (59 loc) · 1.35 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
opt_in_rules:
- anyobject_protocol
- array_init
- block_based_kvo
- closure_end_indentation
- closure_spacing
- contains_over_first_not_nil
- convenience_type
- discouraged_assert
- discouraged_object_literal
- discouraged_optional_boolean
- empty_count
- empty_string
- empty_xctest_method
- explicit_init
- extension_access_modifier
- fatal_error_message
- file_header
- file_length
- first_where
- force_cast
- force_try
- force_unwrapping
- implicit_return
- inert_defer
- joined_default_parameter
- last_where
- legacy_random
- lower_acl_than_parent
- modifier_order
- multiline_function_chains
- multiline_parameters
- multiline_parameters_brackets
- no_fallthrough_only
- operator_usage_whitespace
- overridden_super_call
- private_action
- private_outlet
- private_unit_test
- prohibited_super_call
- redundant_nil_coalescing
- single_test_class
- sorted_first_last
- static_operator
- strong_iboutlet
- switch_case_alignment
- trailing_closure
- unavailable_function
- unneeded_parentheses_in_closure_argument
- unused_control_flow_label
- vertical_parameter_alignment_on_call
- vertical_whitespace_closing_braces
- xct_specific_matcher
- xctfail_message
- yoda_condition
private_outlet:
allow_private_set: true
multiline_parameters:
allows_single_line: false