From 71095f214731ea08634774539507f060ce2982dd Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 17 Nov 2020 15:18:32 +0100 Subject: [PATCH] Enable `Performance/ConstantRegexp` cop. --- Library/.rubocop.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index b801949238..2792594c60 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -163,10 +163,6 @@ 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