Replace `if_let_shadowing` with `shorthand_optional_binding` (#4747)
In `.swiftlint.yml`
This commit is contained in:
parent
aba0f63704
commit
6ea0397620
|
@ -33,7 +33,6 @@ opt_in_rules:
|
||||||
- first_where
|
- first_where
|
||||||
- flatmap_over_map_reduce
|
- flatmap_over_map_reduce
|
||||||
- identical_operands
|
- identical_operands
|
||||||
- if_let_shadowing
|
|
||||||
- joined_default_parameter
|
- joined_default_parameter
|
||||||
- last_where
|
- last_where
|
||||||
- legacy_multiple
|
- legacy_multiple
|
||||||
|
@ -62,6 +61,7 @@ opt_in_rules:
|
||||||
- redundant_nil_coalescing
|
- redundant_nil_coalescing
|
||||||
- redundant_type_annotation
|
- redundant_type_annotation
|
||||||
- return_value_from_void_function
|
- return_value_from_void_function
|
||||||
|
- shorthand_optional_binding
|
||||||
- single_test_class
|
- single_test_class
|
||||||
- sorted_first_last
|
- sorted_first_last
|
||||||
- sorted_imports
|
- sorted_imports
|
||||||
|
|
Loading…
Reference in New Issue