summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-12-09 04:14:42 +0000
committerGo MAEDA <maeda@farend.jp>2020-12-09 04:14:42 +0000
commit62a212faa4083ba068ab740e69857707208d6e2e (patch)
tree789377871ae6bb713df18389013b1b36fbf4eccc /.rubocop_todo.yml
parent800d35c0166d589e2e196f67010f564aa8050345 (diff)
downloadredmine-62a212faa4083ba068ab740e69857707208d6e2e.tar.gz
redmine-62a212faa4083ba068ab740e69857707208d6e2e.zip
Update RuboCop Rails to 2.9 (#32531).
git-svn-id: http://svn.redmine.org/redmine/trunk@20585 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml21
1 files changed, 20 insertions, 1 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index c2de6bab6..e656db936 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -721,8 +721,9 @@ Rails/FindBy:
- 'app/models/wiki_content_version.rb'
# Cop supports --auto-correct.
-# Configuration parameters: Include.
+# Configuration parameters: Include, IgnoredMethods.
# Include: app/models/**/*.rb
+# IgnoredMethods: order, limit, select, lock
Rails/FindEach:
Exclude:
- 'app/models/auth_source.rb'
@@ -732,6 +733,7 @@ Rails/FindEach:
- 'app/models/project.rb'
- 'app/models/query.rb'
- 'app/models/repository.rb'
+ - 'app/models/repository/cvs.rb'
- 'app/models/setting.rb'
- 'app/models/watcher.rb'
- 'app/models/wiki_page.rb'
@@ -944,6 +946,23 @@ Rails/Validation:
Enabled: false
# Cop supports --auto-correct.
+Rails/WhereEquals:
+ Exclude:
+ - 'app/models/group.rb'
+ - 'app/models/issue.rb'
+ - 'app/models/repository.rb'
+ - 'app/models/user.rb'
+ - 'db/migrate/101_populate_changesets_user_id.rb'
+ - 'db/migrate/20090614091200_fix_messages_sticky_null.rb'
+ - 'db/migrate/20090704172350_populate_users_type.rb'
+ - 'db/migrate/20101104182107_add_unique_index_on_members.rb'
+ - 'db/migrate/20111201201315_add_unique_index_to_issue_relations.rb'
+ - 'db/migrate/20120115143126_set_default_repositories.rb'
+ - 'db/migrate/20120422150750_change_repositories_to_full_sti.rb'
+ - 'lib/redmine/helpers/gantt.rb'
+ - 'test/functional/issues_controller_test.rb'
+
+# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: exists, where
Rails/WhereExists: