]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Fix rubocop warnings
[chef.git] / .rubocop.yml
index 54dd4f715d12ea80b249066b3d2f0b1a39938034..23c3f82fc2644aadc8a36093d189c94859e0a541 100644 (file)
@@ -4,12 +4,19 @@ Style/AlignParameters:
   Exclude:
     - '**/metadata.rb'
 
-Style/HashSyntax:
-  EnforcedStyle: hash_rockets
+Style/ExtraSpacing:
+  AllowForAlignment: true
 
-Style/SingleSpaceBeforeFirstArg:
+Style/FileName:
   Exclude:
-    - '**/metadata.rb'
+    - '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