]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Switch default qdisc to fq
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   TargetRubyVersion: 2.3
5
6 Layout/ExtraSpacing:
7   AllowForAlignment: true
8
9 Layout/IndentHeredoc:
10   EnforcedStyle: squiggly
11
12 Naming/UncommunicativeMethodParamName:
13   Enabled: false
14
15 Style/HashSyntax:
16   EnforcedStyle: hash_rockets
17
18 Style/NumericPredicate:
19   EnforcedStyle: predicate
20
21 Style/PercentLiteralDelimiters:
22   PreferredDelimiters:
23     '%i': '[]'
24     '%I': '[]'
25     '%w': '[]'
26     '%W': '[]'
27
28 Style/StringLiterals:
29   EnforcedStyle: double_quotes
30
31 Style/SymbolArray:
32   EnforcedStyle: brackets
33
34 Style/TrailingCommaInArrayLiteral:
35   Enabled: false
36
37 Style/TrailingCommaInHashLiteral:
38   Enabled: false