-
Notifications
You must be signed in to change notification settings - Fork 0
/
.swiftlint.yml
112 lines (98 loc) · 2.32 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#- You can COMMENT to enable a rule, UNCOMMENT to disable: - #
disabled_rules:
- syntactic_sugar
- control_statement
- identifier_name
- trailing_whitespace
#- opening_brace
#- vertical_whitespace
#- statement_position
#- trailing_newline
#- empty_enum_arguments
#- implicit_getter
#- trailing_semicolon
#- legacy_constructor
#- return_arrow_whitespace
#- shorthand_operator
#- vertical_parameter_alignment
#- leading_whitespace
#- mark
#- operator_whitespace
#- closing_brace
#- compiler_protocol_init
#- redundant_void_return
#- generic_type_name
#- attributes
#- closure_parameter_position
#- trailing_comma
#- empty_parentheses_with_trailing_closure
- function_body_length
- line_length
- type_body_length
- file_length
- redundant_string_enum_value
- unused_optional_binding
- unused_closure_parameter
- type_name
- for_where
#- colon
#- comma
#- redundant_optional_initialization
#- unused_enumerated
#- redundant_discardable_let
#- legacy_cggeometry_functions
#- legacy_nsgeometry_functions
#- private_over_fileprivate
#- protocol_property_accessors_order
#- empty_parameters
#- void_return
#- legacy_constant
#- function_parameter_count
- force_cast
- cyclomatic_complexity
- nesting
- todo
- large_tuple
- force_try
- valid_ibinspectable
- notification_center_detachment
#- discarded_notification_center_observer
#- class_delegate_protocol
#- dynamic_inline
#- weak_delegate
#- private_unit_test
#- private_outlet
opt_in_rules:
#- vertical_parameter_alignment_on_call
#- closure_end_indentation
#- conditional_returns_on_newline
#- let_var_whitespace
#- number_separator
#- switch_case_on_newline
#- unneeded_parentheses_in_closure_argument
- operator_usage_whitespace
- closure_spacing
- multiline_parameters
#- explicit_init
#- explicit_top_level_acl
#- file_header
#- implicit_return
#- nimble_operator
- force_unwrapping
#- empty_count
#- overridden_super_call
#- prohibited_super_call
- fatal_error_message
#- explicit_type_interface
#- extension_access_modifier
#- first_where
#- implicitly_unwrapped_optional
#- no_extension_access_modifier
#- object_literal
#- redundant_nil_coalescing
#- sorted_imports
#- strict_fileprivate
excluded:
- Pods
- ./MAFIATests
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit, html, emoji)