X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/434035eb5a372a255b6c167d6c2e5a3164248c8b..e3a4cfd420ecd20aed61d843407643aad30ecd58:/.rubocop.yml?ds=inline diff --git a/.rubocop.yml b/.rubocop.yml index d9fcce7c6..200ab8a00 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ require: - rubocop-rails AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 NewCops: enable Exclude: - 'vendor/**/*' @@ -37,7 +37,6 @@ Metrics/ModuleLength: Naming/FileName: Exclude: - 'script/deliver-message' - - 'script/locale/reload-languages' - 'script/update-spam-blocks' Naming/MethodParameterName: @@ -67,7 +66,8 @@ Style/Documentation: Enabled: false Style/FormatStringToken: - EnforcedStyle: template + Exclude: + - 'config/routes.rb' Style/IfInsideElse: Enabled: false