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