summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-01 17:05:00 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-01 17:05:00 +0000
commitbb09ec138494086f37352ea7730b9cbdecd0bfb8 (patch)
tree6211dd646ce37008fe8c1d30a075144716a78e4b /.rubocop_todo.yml
parent4d42e7a98fd4bb6c74054788934ce58ae431e835 (diff)
downloadredmine-bb09ec138494086f37352ea7730b9cbdecd0bfb8.tar.gz
redmine-bb09ec138494086f37352ea7730b9cbdecd0bfb8.zip
Set TargetRubyVersion of RuboCop to 2.5 (#31128).
git-svn-id: http://svn.redmine.org/redmine/trunk@20904 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index ed63d721a..1c9049450 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -530,6 +530,14 @@ Performance/FixedSize:
- 'test/integration/attachments_test.rb'
# Cop supports --auto-correct.
+Performance/RedundantEqualityComparisonBlock:
+ Exclude:
+ - 'app/models/query.rb'
+ - 'app/models/setting.rb'
+ - 'lib/redmine/field_format.rb'
+ - 'test/integration/api_test/issues_test.rb'
+
+# Cop supports --auto-correct.
Performance/RedundantMatch:
Exclude:
- 'app/models/issue_relation.rb'
@@ -1544,7 +1552,16 @@ Style/RedundantAssignment:
# Cop supports --auto-correct.
Style/RedundantBegin:
Exclude:
+ - 'app/controllers/issues_controller.rb'
+ - 'app/models/auth_source.rb'
- 'app/models/member.rb'
+ - 'app/models/repository.rb'
+ - 'app/models/setting.rb'
+ - 'lib/redmine/codeset_util.rb'
+ - 'lib/redmine/plugin.rb'
+ - 'test/unit/issue_nested_set_concurrency_test.rb'
+ - 'test/unit/project_nested_set_concurrency_test.rb'
+ - 'test/unit/query_test.rb'
# Cop supports --auto-correct.
Style/RedundantCondition: