]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Merge remote-tracking branch 'github/pull/675'
[chef.git] / .rubocop.yml
index 12d060a1b67140fe609ff94b8a4f77826916ad78..d3e607a069bb15bf76870686de76ac7f54dd2cbc 100644 (file)
@@ -1,20 +1,26 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  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