]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Add test for osqa cookbook
[chef.git] / .rubocop.yml
index dfd51c01e2c089ba5a6a7130a5fff9528eaf3bd6..5d25f84c3d93bf535e9e211b3c5dba12702b8d98 100644 (file)
@@ -1,11 +1,10 @@
 inherit_from: .rubocop_todo.yml
 
 AllCops:
-  TargetRubyVersion: 2.3
+  TargetRubyVersion: 2.5
 
-Layout/AlignParameters:
-  Exclude:
-    - '**/metadata.rb'
+ChefModernize/IncludingAptDefaultRecipe:
+  Enabled: false
 
 Layout/ExtraSpacing:
   AllowForAlignment: true
@@ -19,9 +18,6 @@ Naming/UncommunicativeMethodParamName:
 Style/HashSyntax:
   EnforcedStyle: hash_rockets
 
-Style/IfUnlessModifier:
-  Enabled: false
-
 Style/NumericPredicate:
   EnforcedStyle: predicate