X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..5cb7fbb3d17a39f8fe130e3a9a5f9e43484574a2:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index ac29f4fc8..aa60df305 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,6 +4,7 @@ require: - rubocop-minitest - rubocop-performance - rubocop-rails + - rubocop-rake AllCops: TargetRubyVersion: 2.7 @@ -37,7 +38,6 @@ Metrics/ModuleLength: Naming/FileName: Exclude: - 'script/deliver-message' - - 'script/locale/reload-languages' - 'script/update-spam-blocks' Naming/MethodParameterName: @@ -58,6 +58,9 @@ Rails/HttpPositionalArguments: Rails/InverseOf: Enabled: false +Rails/ReflectionClassName: + Enabled: false + Rails/SkipsModelValidations: Exclude: - 'db/migrate/*.rb'