]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Bump aws-sdk-s3 from 1.80.0 to 1.81.0
[rails.git] / .rubocop.yml
index 34605df1d8b821fe083d88b8caa07a3ea222562b..ac29f4fc8769d9aec2d1142f33eef65bf698383e 100644 (file)
@@ -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