X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/434035eb5a372a255b6c167d6c2e5a3164248c8b..0084ed303a889f4c0b5e9c1ce50db085b0ebc5f0:/.rubocop.yml 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