From b2db297fcfbe244a09190829bb70033d4a6185e6 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 24 Apr 2021 02:20:51 +0900 Subject: [PATCH] Enable `Performance/MapCompact` cop Follow https://github.com/rails/rails/commit/bbbc861 --- config/rails.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rails.yml b/config/rails.yml index e9fe152..71b01e6 100644 --- a/config/rails.yml +++ b/config/rails.yml @@ -255,6 +255,9 @@ Performance/BindCall: Performance/FlatMap: Enabled: true +Performance/MapCompact: + Enabled: true + Performance/RedundantMerge: Enabled: true