]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Bump actions/cache from 2.1.6 to 2.1.7
[chef.git] / .rubocop.yml
index dfd51c01e2c089ba5a6a7130a5fff9528eaf3bd6..a2d78c8d272bd5e630b657b71c7883ef19d2fe26 100644 (file)
@@ -1,27 +1,26 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 3.0
 
 
-Layout/AlignParameters:
-  Exclude:
-    - '**/metadata.rb'
+ChefModernize/IncludingAptDefaultRecipe:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
   Enabled: false
 
+Style/CommandLiteral:
+  EnforcedStyle: percent_x
+
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
-Style/IfUnlessModifier:
-  Enabled: false
-
 Style/NumericPredicate:
   EnforcedStyle: predicate
 
 Style/NumericPredicate:
   EnforcedStyle: predicate