aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-06-10 20:20:02 +0300
committerMike McQuaid2017-06-10 20:20:02 +0300
commit564b03aa01fbb994fe8325cd57a28a2b0545dcb1 (patch)
tree3b2268d28504da0a3f09f00ccab1edbd275cc7f2
parentf3970b52b6827176838cceead370a50e0cbb6cbf (diff)
downloadbrew-564b03aa01fbb994fe8325cd57a28a2b0545dcb1.tar.bz2
rubocop: don’t allow Perl regex backrefs.
Even if shell/perl users recognise these variables the explicit versions are significantly more readable for everyone.
-rw-r--r--Library/.rubocop.yml4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml
index 8099c7ad0..4f6ac82f0 100644
--- a/Library/.rubocop.yml
+++ b/Library/.rubocop.yml
@@ -176,10 +176,6 @@ Style/PercentLiteralDelimiters:
'%W': '[]'
'%x': '()'
-# we prefer Perl-style regex back references
-Style/PerlBackrefs:
- Enabled: false
-
Style/RaiseArgs:
EnforcedStyle: exploded