X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0dd03daf349242fb487e6844dcdc7842fbb436bd..0abd8ea78d8ea37f14145c973a523ef53bca84ef:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 334c8112b..65db8a6a5 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: @@ -55,7 +55,7 @@ Rails/HasManyOrHasOneDependent: Rails/HttpPositionalArguments: Enabled: false -Rails/InverseOf: +Rails/ReflectionClassName: Enabled: false Rails/SkipsModelValidations: @@ -67,7 +67,8 @@ Style/Documentation: Enabled: false Style/FormatStringToken: - EnforcedStyle: template + Exclude: + - 'config/routes.rb' Style/IfInsideElse: Enabled: false