diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 18:33:39 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:57 -0600 |
commit | b3c514eed9d1914fbeb63a616f70b657054d0531 (patch) | |
tree | 98d7d3666b5361a6026b0646c919a76f316c3bd4 | |
parent | ccbebbdfeb9ce78c0a386ae08ae88aeb7dc5ad86 (diff) | |
download | gitlab-ce-b3c514eed9d1914fbeb63a616f70b657054d0531.tar.gz |
Disable Rails/DynamicFindBy
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .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 |