]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Create vendor directory before using it
[chef.git] / .rubocop.yml
index 649fc64dc4e1ab442d295463e9eae0b87bcff42b..c4b812d920a1cb17d54f9bf64eecb74863d9d4ed 100644 (file)
@@ -1,10 +1,13 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.6
+  TargetRubyVersion: 3.1
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
+  
+Chef/Modernize/CronDFileOrTemplate:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
@@ -15,6 +18,9 @@ Layout/HeredocIndentation:
 Naming/MethodParameterName:
   Enabled: false
 
 Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets