rubocop: don’t allow Perl regex backrefs.
Even if shell/perl users recognise these variables the explicit versions are significantly more readable for everyone.
This commit is contained in:
parent
f3970b52b6
commit
564b03aa01
@ -176,10 +176,6 @@ Style/PercentLiteralDelimiters:
|
||||
'%W': '[]'
|
||||
'%x': '()'
|
||||
|
||||
# we prefer Perl-style regex back references
|
||||
Style/PerlBackrefs:
|
||||
Enabled: false
|
||||
|
||||
Style/RaiseArgs:
|
||||
EnforcedStyle: exploded
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user