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:
Mike McQuaid 2017-06-10 20:20:02 +03:00
parent f3970b52b6
commit 564b03aa01

View File

@ -176,10 +176,6 @@ Style/PercentLiteralDelimiters:
'%W': '[]' '%W': '[]'
'%x': '()' '%x': '()'
# we prefer Perl-style regex back references
Style/PerlBackrefs:
Enabled: false
Style/RaiseArgs: Style/RaiseArgs:
EnforcedStyle: exploded EnforcedStyle: exploded