]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Fix interface name for ysera
[chef.git] / .rubocop.yml
index 07985407d1cf89d05b7de06242a8b9c020d7f26b..f5d3d4c19bf1ac03803fe9c3112f14a2e765dc87 100644 (file)
@@ -1,5 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
+require: rubocop-performance
+
 AllCops:
   TargetRubyVersion: 2.3
 
@@ -13,7 +15,7 @@ Layout/ExtraSpacing:
 Layout/IndentHeredoc:
   EnforcedStyle: squiggly
 
-Style/FileName:
+Naming/FileName:
   Exclude:
     - 'cookbooks/trac/files/default/trac-authenticate'
     - 'cookbooks/planet/files/default/replication-bin/replicate-changesets'
@@ -21,12 +23,18 @@ Style/FileName:
     - 'hooks/*'
     - 'roles/*.rb'
 
+Naming/UncommunicativeMethodParamName:
+  Enabled: false
+
 Style/FrozenStringLiteralComment:
   EnforcedStyle: never
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
+Style/IfUnlessModifier:
+  Enabled: false
+
 Style/StringLiterals:
   EnforcedStyle: double_quotes