X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f49c815cb531874d15796b0ae6f8030e5acbbb09..7d4cc85a312cb79fd1c4b0f22626722bea1d736d:/.rubocop.yml 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