X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1db26ff5f9039fb6e55d3a65f16cb43ba28aba20..ca2c7ef1d68f9ab258f13134da9f275df3f95f24:/.rubocop.yml?ds=sidebyside diff --git a/.rubocop.yml b/.rubocop.yml index f8060f948..c0f0c1fa0 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,11 +17,6 @@ AllCops: Rails: Enabled: true -# Config can be removed after https://github.com/rubocop/rubocop-factory_bot/issues/53 -FactoryBot/AssociationStyle: - Include: - - 'test/factories/**/*' - Layout/ExtraSpacing: AllowForAlignment: true @@ -50,9 +45,16 @@ Naming/FileName: Naming/MethodParameterName: Enabled: false +# This conflicts with Strong Migrations, which can't check `change_table` +Rails/BulkChangeTable: + Enabled: false + Rails/CreateTableWithTimestamps: Enabled: false +Rails/FindBy: + IgnoreWhereFirst: false + Rails/FindEach: Enabled: false