forked from ThePowerOfSwift/CoreKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.swiftlint.yml
More file actions
53 lines (53 loc) · 1.14 KB
/
.swiftlint.yml
File metadata and controls
53 lines (53 loc) · 1.14 KB
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
disabled_rules:
- function_parameter_count
- large_tuple
- identifier_name
opt_in_rules:
- closure_end_indentation
- closure_spacing
- conditional_returns_on_newline
- contains_over_first_not_nil
- empty_count
- explicit_init
- fatal_error_message
- force_unwrapping
- joined_default_parameter
- let_var_whitespace
- literal_expression_end_indentation
- multiline_arguments
- multiline_parameters
- nimble_operator
- number_separator
- operator_usage_whitespace
- overridden_super_call
- pattern_matching_keywords
- redundant_nil_coalescing
- single_test_class
- strict_fileprivate
- switch_case_on_newline
- trailing_closure
- unneeded_parentheses_in_closure_argument
- vertical_parameter_alignment_on_call
line_length:
warning: 120
error: 160
function_body_length:
warning: 100
error: 200
file_length:
warning: 500
error: 1000
statement_position:
statement_mode: uncuddled_else
empty_count:
severity: warning
force_cast:
severity: warning
force_try:
severity: warning
function_parameter_count:
severity: warning
shorthand_operator:
severity: warning
large_tuple:
severity: warning