X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6892ccd0155b431cc567b4744b1e2759df3e8c68..7e7ede890e8e948236d3dbc48e24aca00cd01f62:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index 97bb72e0a..8b6ed0180 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,7 +9,7 @@ require: - rubocop-rake AllCops: - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 NewCops: enable Exclude: - 'vendor/**/*' @@ -37,9 +37,6 @@ Metrics/ClassLength: Metrics/ModuleLength: Max: 150 -Minitest/MultipleAssertions: - Enabled: false - Naming/FileName: Exclude: - 'script/deliver-message' @@ -48,6 +45,10 @@ 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