]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Reduce TOTP lookbehind
[chef.git] / .rubocop.yml
index 12d060a1b67140fe609ff94b8a4f77826916ad78..a2d78c8d272bd5e630b657b71c7883ef19d2fe26 100644 (file)
@@ -1,7 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 3.0
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
@@ -9,12 +9,15 @@ ChefModernize/IncludingAptDefaultRecipe:
 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