1
0
Fork 0
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:
Matt Jankowski 2024-06-24 11:00:25 -04:00
parent 5251a38c27
commit a7ed579e5c

View file

@ -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