]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Require apt cookbook for osmdbt in planet cookbook
[chef.git] / .rubocop.yml
index 5d25f84c3d93bf535e9e211b3c5dba12702b8d98..80bd36dad256c088960a696f3b42a198146448c8 100644 (file)
@@ -1,7 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.7
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
@@ -9,12 +9,15 @@ ChefModernize/IncludingAptDefaultRecipe:
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets