X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b7d6243affd4ca09c076847135f9f801ed33a426..f7492b0e4945a97db948a3df1d1dcd5f6684ebb1:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 9b7a28d87..aa60df305 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,9 +4,10 @@ require: - rubocop-minitest - rubocop-performance - rubocop-rails + - rubocop-rake AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 NewCops: enable Exclude: - 'vendor/**/*' @@ -57,6 +58,9 @@ Rails/HttpPositionalArguments: Rails/InverseOf: Enabled: false +Rails/ReflectionClassName: + Enabled: false + Rails/SkipsModelValidations: Exclude: - 'db/migrate/*.rb'