]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[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