]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Merge remote-tracking branch 'github/pull/323
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   TargetRubyVersion: 2.6
5
6 ChefModernize/IncludingAptDefaultRecipe:
7   Enabled: false
8
9 Layout/ExtraSpacing:
10   AllowForAlignment: true
11
12 Layout/HeredocIndentation:
13   Enabled: true
14
15 Naming/MethodParameterName:
16   Enabled: false
17
18 Style/HashSyntax:
19   EnforcedStyle: hash_rockets
20
21 Style/NumericPredicate:
22   EnforcedStyle: predicate
23
24 Style/PercentLiteralDelimiters:
25   PreferredDelimiters:
26     '%i': '[]'
27     '%I': '[]'
28     '%w': '[]'
29     '%W': '[]'
30
31 Style/StringLiterals:
32   EnforcedStyle: double_quotes
33
34 Style/SymbolArray:
35   EnforcedStyle: brackets
36
37 Style/TrailingCommaInArrayLiteral:
38   Enabled: false
39
40 Style/TrailingCommaInHashLiteral:
41   Enabled: false