]> git.openstreetmap.org Git - chef.git/blobdiff - .rubocop.yml
switch2osm: use override config to fix site name
[chef.git] / .rubocop.yml
index 23ca686a814f11f40ef35a389f9394d47a32cc32..5db1a31045524667dabbea1a6aaf55863ffa3ed4 100644 (file)
@@ -1,5 +1,38 @@
 inherit_from: .rubocop_todo.yml
 
-Style/SingleSpaceBeforeFirstArg:
-  Exclude:
-    - '**/metadata.rb'
+AllCops:
+  TargetRubyVersion: 2.3
+
+Layout/ExtraSpacing:
+  AllowForAlignment: true
+
+Layout/IndentHeredoc:
+  EnforcedStyle: squiggly
+
+Naming/UncommunicativeMethodParamName:
+  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