X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/434035eb5a372a255b6c167d6c2e5a3164248c8b..71be43588658a84dbf4d424a4e0084f38eaab9bf:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index d9fcce7c6..49fba1d0c 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/**/*' @@ -37,7 +38,6 @@ Metrics/ModuleLength: Naming/FileName: Exclude: - 'script/deliver-message' - - 'script/locale/reload-languages' - 'script/update-spam-blocks' Naming/MethodParameterName: @@ -67,7 +67,8 @@ Style/Documentation: Enabled: false Style/FormatStringToken: - EnforcedStyle: template + Exclude: + - 'config/routes.rb' Style/IfInsideElse: Enabled: false