summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-12-06 00:31:36 +0000
committerGo MAEDA <maeda@farend.jp>2020-12-06 00:31:36 +0000
commite13e6fb5d32f0852c33cfe6cdd4055128bbe8485 (patch)
tree87dae5f8a3ac47736c6128b370debc08f1be04be /.rubocop.yml
parent64f68a8d8497335e2f28dae2298931304ad23ce1 (diff)
downloadredmine-e13e6fb5d32f0852c33cfe6cdd4055128bbe8485.tar.gz
redmine-e13e6fb5d32f0852c33cfe6cdd4055128bbe8485.zip
Update RuboCop to 1.5.2 (#32530).
Note: RubooCop 1.5.0 and 1.5.1 cannot be used for Redmine. This is because those versions of RuboCop requires regexp_parser >= 2.0 while Capybara requires regexp_parser ~> 1.5. git-svn-id: http://svn.redmine.org/redmine/trunk@20579 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 442efa80b..1d6cc8fb5 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -99,6 +99,10 @@ Metrics:
Naming/AccessorMethodName:
Enabled: false
+Naming/VariableNumber:
+ CheckMethodNames: false
+ CheckSymbols: false
+
Naming/BinaryOperatorParameterName:
Enabled: false
@@ -162,6 +166,9 @@ Style/IdenticalConditionalBranches:
- 'config/initializers/10-patches.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
+Style/NegatedIfElseCondition:
+ Enabled: false
+
Style/RaiseArgs:
Enabled: false