]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Allow pinning kernel versions to work around hardware / driver issues
[chef.git] / .rubocop.yml
index f9eb7394239a2bdf5e00a9347398ce61e5a1de00..2219d6ec67ec53c4270a3eac6b94b8996b644936 100644 (file)
@@ -4,6 +4,20 @@ 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/SingleSpaceBeforeFirstArg:
   Exclude:
     - '**/metadata.rb'