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