]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Stop fight chef-server over configuration file permissions
[chef.git] / .rubocop.yml
index 1f5c531bf4865c75bc4c21411ec25c1201afc16c..23c3f82fc2644aadc8a36093d189c94859e0a541 100644 (file)
@@ -4,19 +4,19 @@ 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'
-
 Style/StringLiterals:
   EnforcedStyle: double_quotes