Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2022-06-06 04:32:44 +0300
committerMarcel Amirault <mamirault@gitlab.com>2022-06-06 04:32:44 +0300
commit9934176180cc95510de52ce509a656fabf06b92e (patch)
tree27e4a5f21484caa89deaf0cd686ea0b5f7acadf9 /.rubocop.yml
parent879d4ad5fcee1c70016e386ba8ffcde7072f5e08 (diff)
Fix Style/RegexpLiteral RuboCop offenses
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
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