]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Reformat readme headers to match other readmes
[chef.git] / .rubocop.yml
index 9d38fed388a39ba39751f4d8aeeb5c54430ad402..23c3f82fc2644aadc8a36093d189c94859e0a541 100644 (file)
@@ -1,3 +1,22 @@
-Style/SingleSpaceBeforeFirstArg:
+inherit_from: .rubocop_todo.yml
+
+Style/AlignParameters:
   Exclude:
     - '**/metadata.rb'
+
+Style/ExtraSpacing:
+  AllowForAlignment: true
+
+Style/FileName:
+  Exclude:
+    - 'cookbooks/trac/files/default/trac-authenticate'
+    - 'cookbooks/planet/files/default/replication-bin/replicate-changesets'
+    - 'cookbooks/*/templates/*/*.erb'
+    - 'hooks/*'
+    - 'roles/*.rb'
+
+Style/HashSyntax:
+  EnforcedStyle: hash_rockets
+
+Style/StringLiterals:
+  EnforcedStyle: double_quotes