]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Fix spamassassin tests for Debian
[chef.git] / .rubocop.yml
index 5d25f84c3d93bf535e9e211b3c5dba12702b8d98..d3e607a069bb15bf76870686de76ac7f54dd2cbc 100644 (file)
@@ -1,20 +1,26 @@
 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/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets