summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-29 08:06:14 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-29 08:06:14 +0000
commit1ae0c73920596c0d1f74d2b6eb274f856a2ee54c (patch)
tree87cb64b3de854a77cfd1a9227325aa81b5ceb79a /.rubocop_todo.yml
parent5817752289cd4e8fa30ac8375935e94f2f94d538 (diff)
downloadredmine-1ae0c73920596c0d1f74d2b6eb274f856a2ee54c.tar.gz
redmine-1ae0c73920596c0d1f74d2b6eb274f856a2ee54c.zip
Update RuboCop Rails to 2.17 (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21931 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 4ce803621..7a601f12e 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -657,9 +657,9 @@ Rails/DuplicateScope:
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
-# Whitelist: find_by_sql
-# AllowedMethods: find_by_sql
-# AllowedReceivers: Gem::Specification
+# Whitelist: find_by_sql, find_by_token_for
+# AllowedMethods: find_by_sql, find_by_token_for
+# AllowedReceivers: Gem::Specification, page
Rails/DynamicFindBy:
Enabled: false
@@ -677,8 +677,9 @@ Rails/Exit:
- 'config/routes.rb'
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: Include, IgnoredMethods.
+# Configuration parameters: Include, AllowedMethods, AllowedPatterns, IgnoredMethods.
# Include: app/models/**/*.rb
+# AllowedMethods: order, limit, select, lock
# IgnoredMethods: order, limit, select, lock
Rails/FindEach:
Exclude:
@@ -1729,7 +1730,7 @@ Style/SymbolArray:
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
-# AllowedMethods: respond_to, define_method
+# AllowedMethods: define_method, mail, respond_to
Style/SymbolProc:
Enabled: false