X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98f8bbace3bec93a23fd9924f0a02c9d41c9cf69..1f67fc77df00a08955fb6fdf26ec5424d63c9057:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index ddfb63cae..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/**/*' @@ -45,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 @@ -68,9 +72,6 @@ Rails/SkipsModelValidations: - 'db/migrate/*.rb' - 'app/controllers/users_controller.rb' -Style/ArgumentsForwarding: - Enabled: false - Style/Documentation: Enabled: false