Skip to content

Commit 564b03a

Browse files
committed
rubocop: don’t allow Perl regex backrefs.
Even if shell/perl users recognise these variables the explicit versions are significantly more readable for everyone.
1 parent f3970b5 commit 564b03a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Library/.rubocop.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ Style/PercentLiteralDelimiters:
176176
'%W': '[]'
177177
'%x': '()'
178178

179-
# we prefer Perl-style regex back references
180-
Style/PerlBackrefs:
181-
Enabled: false
182-
183179
Style/RaiseArgs:
184180
EnforcedStyle: exploded
185181

0 commit comments

Comments
 (0)