mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Break out individual rails cops
This commit is contained in:
parent
3df70caebc
commit
038255e2d9
1 changed files with 10 additions and 6 deletions
|
@ -1,17 +1,21 @@
|
|||
---
|
||||
Rails:
|
||||
Exclude: # TODO: Work through these one by one in old migrations
|
||||
- db/*migrate/*
|
||||
|
||||
Rails/BulkChangeTable:
|
||||
Enabled: false # Conflicts with strong_migrations features
|
||||
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Exclude: # TODO: Work through these one by one in old migrations
|
||||
- db/*migrate/*
|
||||
Exclude:
|
||||
- db/*migrate/* # TODO: Work through these in old migrations
|
||||
|
||||
Rails/EnvironmentVariableAccess:
|
||||
Enabled: false
|
||||
|
||||
Rails/FilePath:
|
||||
EnforcedStyle: arguments
|
||||
|
||||
Rails/ReversibleMigration:
|
||||
Exclude:
|
||||
- db/*migrate/* # TODO: Work through these in old migrations
|
||||
|
||||
Rails/ThreeStateBooleanColumn:
|
||||
Exclude:
|
||||
- db/*migrate/* # TODO: Work through these in old migrations
|
||||
|
|
Loading…
Reference in a new issue