]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Merge remote-tracking branch 'upstream/pull/2802'
[rails.git] / .rubocop.yml
index d9fcce7c67a9abe93226b4f6df91b67c799533fa..ac29f4fc8769d9aec2d1142f33eef65bf698383e 100644 (file)
@@ -6,7 +6,7 @@ require:
   - rubocop-rails
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
   NewCops: enable
   Exclude:
     - 'vendor/**/*'
@@ -67,7 +67,8 @@ Style/Documentation:
   Enabled: false
 
 Style/FormatStringToken:
-  EnforcedStyle: template
+  Exclude:
+    - 'config/routes.rb'
 
 Style/IfInsideElse:
   Enabled: false