X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52296d1cadfe9c725f101c6ec8a1463873c54d88..1b9b67fa8f592a76bb3f69a96a5365983f962f44:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index 051b7a6a7..8b6ed0180 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,7 +9,7 @@ require: - rubocop-rake AllCops: - TargetRubyVersion: 2.7 + 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