From a3c25b5a2b2faffdceedc7b724dc4d2c14578e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 31 Oct 2025 12:29:03 +0100 Subject: [PATCH] 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] }`. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 6915f328c..27eef1243 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -386,6 +386,9 @@ Performance/StartWith: Performance/Sum: Enabled: true +Performance/ZipWithoutBlock: + Enabled: true + Rails/ActionControllerFlashBeforeRender: Enabled: true