X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0dd03daf349242fb487e6844dcdc7842fbb436bd..80f576a29b2dd45757c48740a74683c699648c05:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 334c8112b..9b7a28d87 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ require: - rubocop-rails AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 2.5 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