diff options
author | Evan Read <eread@gitlab.com> | 2022-06-06 04:32:44 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2022-06-06 04:32:44 +0300 |
commit | 9934176180cc95510de52ce509a656fabf06b92e (patch) | |
tree | 27e4a5f21484caa89deaf0cd686ea0b5f7acadf9 /.rubocop.yml | |
parent | 879d4ad5fcee1c70016e386ba8ffcde7072f5e08 (diff) |
Fix Style/RegexpLiteral RuboCop offenses
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 23504765..58222779 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -20,3 +20,9 @@ RSpec/MultipleMemoizedHelpers: Style/FrozenStringLiteralComment: Enabled: false + +# See https://gitlab.com/gitlab-org/gitlab/-/issues/327495 +# Prefer percent_r instead of mix of styles +Style/RegexpLiteral: + Enabled: true + EnforcedStyle: percent_r |