]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
Added Luxembourg 2019 lidar hillshade
[chef.git] / .rubocop.yml
index f11a7d911ffd033ca98829ec8699376be1b1d895..eae20fc7ad47f5b2b4930bba32bf7532e482557e 100644 (file)
@@ -1,9 +1,41 @@
 inherit_from: .rubocop_todo.yml
 
-Style/AlignParameters:
-  Exclude:
-    - '**/metadata.rb'
+AllCops:
+  TargetRubyVersion: 2.5
 
-Style/SingleSpaceBeforeFirstArg:
-  Exclude:
-    - '**/metadata.rb'
+ChefModernize/IncludingAptDefaultRecipe:
+  Enabled: false
+
+Layout/ExtraSpacing:
+  AllowForAlignment: true
+
+Layout/HeredocIndentation:
+  EnforcedStyle: squiggly
+
+Naming/MethodParameterName:
+  Enabled: false
+
+Style/HashSyntax:
+  EnforcedStyle: hash_rockets
+
+Style/NumericPredicate:
+  EnforcedStyle: predicate
+
+Style/PercentLiteralDelimiters:
+  PreferredDelimiters:
+    '%i': '[]'
+    '%I': '[]'
+    '%w': '[]'
+    '%W': '[]'
+
+Style/StringLiterals:
+  EnforcedStyle: double_quotes
+
+Style/SymbolArray:
+  EnforcedStyle: brackets
+
+Style/TrailingCommaInArrayLiteral:
+  Enabled: false
+
+Style/TrailingCommaInHashLiteral:
+  Enabled: false