X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52296d1cadfe9c725f101c6ec8a1463873c54d88..8c0f5752809f7a21aa62babc05f35a8f881d2141:/.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