]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Bump eslint from 7.6.0 to 7.7.0
[rails.git] / .rubocop.yml
index 1c41c027a68b40d4e79fb07f081cd891ae31a731..ac29f4fc8769d9aec2d1142f33eef65bf698383e 100644 (file)
@@ -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/**/*'
 
@@ -65,7 +67,8 @@ Style/Documentation:
   Enabled: false
 
 Style/FormatStringToken:
-  EnforcedStyle: template
+  Exclude:
+    - 'config/routes.rb'
 
 Style/IfInsideElse:
   Enabled: false