]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Limit required attributes to the actions that need them
[chef.git] / .rubocop.yml
index 5d25f84c3d93bf535e9e211b3c5dba12702b8d98..649fc64dc4e1ab442d295463e9eae0b87bcff42b 100644 (file)
@@ -1,7 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.5
+  TargetRubyVersion: 2.6
 
 ChefModernize/IncludingAptDefaultRecipe:
   Enabled: false
@@ -9,10 +9,10 @@ ChefModernize/IncludingAptDefaultRecipe:
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
-  EnforcedStyle: squiggly
+Layout/HeredocIndentation:
+  Enabled: true
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
 Style/HashSyntax: