]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Replace netcat with netcat-openbsd
[chef.git] / .rubocop.yml
index eae20fc7ad47f5b2b4930bba32bf7532e482557e..d3e607a069bb15bf76870686de76ac7f54dd2cbc 100644 (file)
@@ -1,20 +1,26 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 3.1
 
 
-ChefModernize/IncludingAptDefaultRecipe:
+Chef/Modernize/IncludingAptDefaultRecipe:
+  Enabled: false
+  
+Chef/Modernize/CronDFileOrTemplate:
   Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
 Layout/HeredocIndentation:
   Enabled: false
 
 Layout/ExtraSpacing:
   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