]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Rebuild embed.html if the settings change
[chef.git] / .rubocop.yml
index 12d060a1b67140fe609ff94b8a4f77826916ad78..80bd36dad256c088960a696f3b42a198146448c8 100644 (file)
@@ -1,7 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 2.7
 
 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