X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/84c898173778ece298b6bcd6d9839c207a831a86..ae00fa84c8f981e909c61ab31b6115bb96e859cc:/.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