From e8c0de0db4f1ca91c29355216167531867eb7ba8 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 17 Nov 2020 11:15:02 +0100 Subject: [PATCH] Disable `Performance/ConstantRegexp` cop for now. --- Library/.rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 2792594c60..b801949238 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -163,6 +163,10 @@ Performance/CaseWhenSplat: Performance/Caller: Enabled: false +# Enable when https://github.com/Homebrew/homebrew-core/pull/64983 is merged. +Performance/ConstantRegexp: + Enabled: false + # Makes code less readable for minor performance increases. Performance/MethodObjectAsBlock: Enabled: false