Skip to content

Commit

Permalink
Disable RuboCop cop Rails/UniqueValidationWithoutIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Marcoux authored and vpereira committed Jan 13, 2021
1 parent 8ded54e commit 85cda1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ Rails/Output:
# FIXME: Since exclusions in `.rubocop_todo.yml` are simply ignored when we also exclude files here, the following exclusions are TODOs
- 'app/lib/backend/test.rb'

# Migrations creating unique indexes are sometimes not possible to run...
# they raise a pretty weird error about some duplicate entries, even though those entries don't exist.
Rails/UniqueValidationWithoutIndex:
Enabled: false

# We decided not to modify old migrations
Rails/BulkChangeTable:
Exclude:
Expand Down

0 comments on commit 85cda1a

Please sign in to comment.