summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rubocop.yml3
-rw-r--r--.rubocop_todo.yml7
2 files changed, 3 insertions, 7 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 3aae3a0261b..c10a46d344b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -929,6 +929,9 @@ Performance/RedundantBlockCall:
Performance/RedundantMatch:
Enabled: true
+Rails/DynamicFindBy:
+ Enabled: false
+
Rails/HttpPositionalArguments:
Enabled: false
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index a7b89d3dba2..f24c74547e8 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -38,13 +38,6 @@ RSpec/SingleArgumentMessageChain:
Exclude:
- 'spec/requests/api/internal_spec.rb'
-# Offense count: 126
-# Cop supports --auto-correct.
-# Configuration parameters: Whitelist.
-# Whitelist: find_by_sql
-Rails/DynamicFindBy:
- Enabled: false
-
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb