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
5251a38c27
commit
a7ed579e5c
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:
|
Rails/BulkChangeTable:
|
||||||
Enabled: false # Conflicts with strong_migrations features
|
Enabled: false # Conflicts with strong_migrations features
|
||||||
|
|
||||||
Rails/CreateTableWithTimestamps:
|
Rails/CreateTableWithTimestamps:
|
||||||
Exclude: # TODO: Work through these one by one in old migrations
|
Exclude:
|
||||||
- db/*migrate/*
|
- db/*migrate/* # TODO: Work through these in old migrations
|
||||||
|
|
||||||
Rails/EnvironmentVariableAccess:
|
Rails/EnvironmentVariableAccess:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Rails/FilePath:
|
Rails/FilePath:
|
||||||
EnforcedStyle: arguments
|
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