From 038255e2d94b8f6ab0415fd9efa64329b9860147 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 24 Jun 2024 11:00:25 -0400 Subject: [PATCH] Break out individual rails cops --- .rubocop/rails.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.rubocop/rails.yml b/.rubocop/rails.yml index bbbdfd0eac9..aa887535f17 100644 --- a/.rubocop/rails.yml +++ b/.rubocop/rails.yml @@ -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