X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b7d6243affd4ca09c076847135f9f801ed33a426..a3a14eb01addace8d1cf6d1aa6bcc5f62f2c4898:/.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'