]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Merge remote-tracking branch 'github/pull/710'
[chef.git] / .rubocop.yml
index 649fc64dc4e1ab442d295463e9eae0b87bcff42b..d3e607a069bb15bf76870686de76ac7f54dd2cbc 100644 (file)
@@ -1,9 +1,12 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.6
+  TargetRubyVersion: 3.1
 
 
-ChefModernize/IncludingAptDefaultRecipe:
+Chef/Modernize/IncludingAptDefaultRecipe:
+  Enabled: false
+  
+Chef/Modernize/CronDFileOrTemplate:
   Enabled: false
 
 Layout/ExtraSpacing:
   Enabled: false
 
 Layout/ExtraSpacing:
@@ -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