X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52296d1cadfe9c725f101c6ec8a1463873c54d88..216e2493edde7d9601fdb508a8835b93ec9d3c25:/.rubocop.yml 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