X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c0c817b5429779e7bca1cb3958b7ad3e7d353c54..41339fffd5ac27b0b543007cbd6dafae573df4ea:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 1c41c027a..200ab8a00 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,11 +1,13 @@ inherit_from: .rubocop_todo.yml require: + - rubocop-minitest - rubocop-performance - rubocop-rails AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 + NewCops: enable Exclude: - 'vendor/**/*' @@ -35,7 +37,6 @@ Metrics/ModuleLength: Naming/FileName: Exclude: - 'script/deliver-message' - - 'script/locale/reload-languages' - 'script/update-spam-blocks' Naming/MethodParameterName: @@ -65,7 +66,8 @@ Style/Documentation: Enabled: false Style/FormatStringToken: - EnforcedStyle: template + Exclude: + - 'config/routes.rb' Style/IfInsideElse: Enabled: false