]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Reduce log retention on render servers
[chef.git] / .rubocop.yml
index 5d25f84c3d93bf535e9e211b3c5dba12702b8d98..75bc2d9d8472675959475261618e83c012736bcf 100644 (file)
@@ -1,20 +1,26 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 3.0
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
+  
+Chef/Modernize/CronDFileOrTemplate:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets