X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..88f156a41a5c9ae45d404747819b446861db7a8c:/.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'