]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Added root elements and dict support for preferences response
[rails.git] / .rubocop.yml
index 34605df1d8b821fe083d88b8caa07a3ea222562b..9b7a28d87e0ad61061f9411371c9f1c3df848902 100644 (file)
@@ -7,6 +7,7 @@ require:
 
 AllCops:
   TargetRubyVersion: 2.5
+  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