X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52296d1cadfe9c725f101c6ec8a1463873c54d88..d056315710feeea5b0ab022c6abb37764f862422:/.rubocop.yml?ds=sidebyside 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