summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-07-06 08:04:22 +0000
committerGo MAEDA <maeda@farend.jp>2024-07-06 08:04:22 +0000
commite15db65a90eb5f0392e1f5207bdbdbc074c949ee (patch)
tree71289cae79c33930a50bb6f07c6845b8d1550804
parentbaf32a3fa4be3de208b20f7304b89d71f3967ee7 (diff)
downloadredmine-e15db65a90eb5f0392e1f5207bdbdbc074c949ee.tar.gz
redmine-e15db65a90eb5f0392e1f5207bdbdbc074c949ee.zip
Disable RuboCop Style/PerlBackrefs (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22908 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml4
2 files changed, 3 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index ff1a57bb2..1ee9ce059 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -248,6 +248,9 @@ Style/NegatedIfElseCondition:
Style/NumericPredicate:
Enabled: false
+Style/PerlBackrefs:
+ Enabled: false
+
Style/RaiseArgs:
Enabled: false
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 404822c38..bc6c1e681 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1242,10 +1242,6 @@ Style/ParenthesesAroundCondition:
Style/PercentLiteralDelimiters:
Enabled: false
-# This cop supports safe autocorrection (--autocorrect).
-Style/PerlBackrefs:
- Enabled: false
-
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: short, verbose