]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Reduce log retention on render servers
[chef.git] / .rubocop.yml
index 649fc64dc4e1ab442d295463e9eae0b87bcff42b..75bc2d9d8472675959475261618e83c012736bcf 100644 (file)
@@ -1,10 +1,13 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.6
+  TargetRubyVersion: 3.0
 
 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