]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Fix new rubocop warnings
[chef.git] / .rubocop.yml
index f11a7d911ffd033ca98829ec8699376be1b1d895..b6fd6fcc311875c55c8412b766d431fa719dd74a 100644 (file)
@@ -4,6 +4,20 @@ Style/AlignParameters:
   Exclude:
     - '**/metadata.rb'
 
+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