From b3c514eed9d1914fbeb63a616f70b657054d0531 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 21 Feb 2017 18:33:39 -0600 Subject: [PATCH] Disable Rails/DynamicFindBy --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 7 ------- 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