-
Notifications
You must be signed in to change notification settings - Fork 32
/
.swiftlint.yml
50 lines (49 loc) · 1.02 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
excluded:
- Carthage/
- Pods/
- Tests/
- Alicerce.playground/
reporter: "xcode"
disabled_rules:
- closure_parameter_position
- blanket_disable_command
- todo
- unused_optional_binding
- nesting
- weak_delegate
- large_tuple
- type_name
- generic_type_name
- cyclomatic_complexity
- identifier_name
- colon
- opening_brace
- void_function_in_ternary
opt_in_rules:
- empty_count
- closure_spacing
- closure_end_indentation
- force_unwrapping
- nimble_operator
- object_literal
- explicit_init
- fatal_error_message
- first_where
- implicit_return
- multiline_parameters
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
- number_separator
force_unwrapping: error
force_try: warning
type_body_length:
warning: 300
error: 400
function_body_length:
error: 150
number_separator:
minimum_length: 5
superfluous_disable_command: warning
implicit_return:
included:
- closure