X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..0b790ea6b400758e5dc24c6931bbe3c9951990da:/.rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml index 34605df1d..ac29f4fc8 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/**/*' @@ -66,7 +67,8 @@ Style/Documentation: Enabled: false Style/FormatStringToken: - EnforcedStyle: template + Exclude: + - 'config/routes.rb' Style/IfInsideElse: Enabled: false