]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Merge pull request #315 from openstreetmap/dependabot/bundler/test-kitchen-2.5.2
[chef.git] / .rubocop.yml
index dfd51c01e2c089ba5a6a7130a5fff9528eaf3bd6..d7fa0e5f7d9ad3269480e21dc1423bb56e9a0740 100644 (file)
@@ -1,27 +1,23 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 2.6
 
-Layout/AlignParameters:
-  Exclude:
-    - '**/metadata.rb'
+ChefModernize/IncludingAptDefaultRecipe:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
 
-Layout/IndentHeredoc:
+Layout/HeredocIndentation:
   EnforcedStyle: squiggly
 
-Naming/UncommunicativeMethodParamName:
+Naming/MethodParameterName:
   Enabled: false
 
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
-Style/IfUnlessModifier:
-  Enabled: false
-
 Style/NumericPredicate:
   EnforcedStyle: predicate