Add Performance/ZipWithoutBlock rubocop rule
This rule was added in rubocop-performance 1.24.
We currently don't have code where it'd be relevant, but it's a nice
rule to have if we ever write `something.map { |element| [element] }`.
This commit is contained in:
@@ -386,6 +386,9 @@ Performance/StartWith:
|
|||||||
Performance/Sum:
|
Performance/Sum:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Performance/ZipWithoutBlock:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Rails/ActionControllerFlashBeforeRender:
|
Rails/ActionControllerFlashBeforeRender:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user