X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/926229e286520ed23fb5e8add94c6048aa592412..9d47ad5fe5aa20d674d13c7ac028a46eb3cd4a5e:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index dc2a33a35..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,9 +45,16 @@ 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 +Rails/FindBy: + IgnoreWhereFirst: false + Rails/FindEach: Enabled: false