]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Update wiki to mediawiki 1.33
[chef.git] / .rubocop.yml
index 9d9ce40b0ac2f6b99f34911552a1f00b999a63e4..f5d3d4c19bf1ac03803fe9c3112f14a2e765dc87 100644 (file)
@@ -1,5 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 inherit_from: .rubocop_todo.yml
 
+require: rubocop-performance
+
 AllCops:
   TargetRubyVersion: 2.3
 
 AllCops:
   TargetRubyVersion: 2.3
 
@@ -21,12 +23,18 @@ Naming/FileName:
     - 'hooks/*'
     - 'roles/*.rb'
 
     - 'hooks/*'
     - 'roles/*.rb'
 
+Naming/UncommunicativeMethodParamName:
+  Enabled: false
+
 Style/FrozenStringLiteralComment:
   EnforcedStyle: never
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/FrozenStringLiteralComment:
   EnforcedStyle: never
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
+Style/IfUnlessModifier:
+  Enabled: false
+
 Style/StringLiterals:
   EnforcedStyle: double_quotes
 
 Style/StringLiterals:
   EnforcedStyle: double_quotes