Update swiftlint rules
This commit is contained in:
parent
1ed0e24585
commit
28bad38ea9
|
|
@ -11,6 +11,17 @@ line_length: 220
|
|||
number_separator:
|
||||
minimum_length: 5
|
||||
opt_in_rules:
|
||||
#- anyobject_protocol
|
||||
#- explicit_acl
|
||||
#- explicit_enum_raw_value
|
||||
#- explicit_type_interface
|
||||
#- extension_access_modifier
|
||||
#- file_header
|
||||
#- file_name
|
||||
#- missing_docs
|
||||
#- multiline_arguments_brackets
|
||||
#- no_grouping_extension
|
||||
#- multiline_literal_brackets
|
||||
- array_init
|
||||
- attributes
|
||||
- closure_body_length
|
||||
|
|
@ -29,7 +40,7 @@ opt_in_rules:
|
|||
- empty_xctest_method
|
||||
- explicit_init
|
||||
- explicit_self
|
||||
- extension_access_modifier
|
||||
- explicit_top_level_acl
|
||||
- fallthrough
|
||||
- fatal_error_message
|
||||
- first_where
|
||||
|
|
@ -47,7 +58,9 @@ opt_in_rules:
|
|||
- multiline_arguments
|
||||
- multiline_function_chains
|
||||
- multiline_parameters
|
||||
- multiline_parameters_brackets
|
||||
- nimble_operator
|
||||
- no_extension_access_modifier
|
||||
- number_separator
|
||||
- object_literal
|
||||
- operator_usage_whitespace
|
||||
|
|
|
|||
Loading…
Reference in New Issue