Use SwiftLint version 0.40.x
This commit is contained in:
parent
d3a11c9d29
commit
3197ef39a3
2 changed files with 4 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ whitelist_rules:
|
|||
- function_default_parameter_at_end
|
||||
# - function_parameter_count
|
||||
- generic_type_name
|
||||
- ibinspectable_in_extension
|
||||
- identical_operands
|
||||
# - identifier_name
|
||||
- implicit_getter
|
||||
|
|
@ -124,6 +125,7 @@ whitelist_rules:
|
|||
- override_in_extension
|
||||
- pattern_matching_keywords
|
||||
- prefer_self_type_over_type_of_self
|
||||
- prefer_zero_over_explicit_init
|
||||
# - prefixed_toplevel_constant # Violations are mostly in test code.
|
||||
- private_action
|
||||
# - private_outlet
|
||||
|
|
@ -173,6 +175,7 @@ whitelist_rules:
|
|||
- type_name
|
||||
- unavailable_function
|
||||
- unneeded_break_in_switch
|
||||
- unneeded_notification_center_removal
|
||||
- unneeded_parentheses_in_closure_argument
|
||||
# - unowned_variable_capture
|
||||
- untyped_error_in_catch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue