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