X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/50e5d6a65934fd22129aa9e450db0b821c7750b0..ef6edfff34888ae9c9564bfab84e5eade33e26c6:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 97bb72e0a..60d144544 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 @@ -69,7 +70,7 @@ Rails/ReflectionClassName: Rails/SkipsModelValidations: Exclude: - 'db/migrate/*.rb' - - 'app/controllers/users_controller.rb' + - 'app/controllers/users/lists_controller.rb' Style/Documentation: Enabled: false