]> git.openstreetmap.org Git - rails.git/blobdiff - .rubocop.yml
Standardise on "hash rocket" style for hashes
[rails.git] / .rubocop.yml
index 555d76d36117bf86fbef9ebb1a26615dc99983ab..a0533b162da42b0d3aebdd7077258226f5d0b1fe 100644 (file)
@@ -9,5 +9,11 @@ Style/FileName:
     - 'script/locale/reload-languages'
     - 'script/update-spam-blocks'
 
+Style/HashSyntax:
+  EnforcedStyle: hash_rockets
+  Exclude:
+    - 'lib/tasks/testing.rake'
+    - 'config/initializers/wrap_parameters.rb'
+
 Style/StringLiterals:
   EnforcedStyle: double_quotes