]> 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 d7fa0e5f7d9ad3269480e21dc1423bb56e9a0740..80bd36dad256c088960a696f3b42a198146448c8 100644 (file)
@@ -1,7 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.6
+  TargetRubyVersion: 2.7
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
@@ -10,11 +10,14 @@ Layout/ExtraSpacing:
   AllowForAlignment: true
 
 Layout/HeredocIndentation:
   AllowForAlignment: true
 
 Layout/HeredocIndentation:
-  EnforcedStyle: squiggly
+  Enabled: true
 
 Naming/MethodParameterName:
   Enabled: false
 
 
 Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets