summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-01-16 06:38:30 +0000
committerGo MAEDA <maeda@farend.jp>2021-01-16 06:38:30 +0000
commit9b7bbfea5f90798aed7ae08056d1273ffc061e1c (patch)
treeb6bf68e00335fc6162afa1bc4516cda7ac099394 /.rubocop_todo.yml
parent7ab26805485f4d9b84c425563284d844a3808a45 (diff)
downloadredmine-9b7bbfea5f90798aed7ae08056d1273ffc061e1c.tar.gz
redmine-9b7bbfea5f90798aed7ae08056d1273ffc061e1c.zip
Update RuboCop to 1.8.1 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20715 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 83ed56c8f..6d6d02f5b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.5.2.
+# using RuboCop version 1.8.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -260,6 +260,10 @@ Lint/AmbiguousRegexpLiteral:
Lint/AssignmentInCondition:
Enabled: false
+Lint/BinaryOperatorWithIdenticalOperands:
+ Exclude:
+ - 'lib/redmine/helpers/calendar.rb'
+
# Cop supports --auto-correct.
Lint/DeprecatedClassMethods:
Exclude:
@@ -275,6 +279,7 @@ Lint/DeprecatedClassMethods:
- 'test/unit/attachment_test.rb'
- 'test/unit/issue_import_test.rb'
+# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'app/helpers/queries_helper.rb'
@@ -445,7 +450,7 @@ Naming/RescuedExceptionsVariableName:
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
-# Configuration parameters: EnforcedStyle.
+# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
@@ -1492,6 +1497,7 @@ Style/Proc:
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
+# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:
Exclude: