]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Bump cookstyle from 7.7.2 to 7.8.0
[chef.git] / .rubocop.yml
index 5db1a31045524667dabbea1a6aaf55863ffa3ed4..80bd36dad256c088960a696f3b42a198146448c8 100644 (file)
@@ -1,17 +1,23 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 2.7
+
+ChefModernize/IncludingAptDefaultRecipe:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets