]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   TargetRubyVersion: 2.7
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/CommandLiteral:
19   EnforcedStyle: percent_x
20
21 Style/HashSyntax:
22   EnforcedStyle: hash_rockets
23
24 Style/NumericPredicate:
25   EnforcedStyle: predicate
26
27 Style/PercentLiteralDelimiters:
28   PreferredDelimiters:
29     '%i': '[]'
30     '%I': '[]'
31     '%w': '[]'
32     '%W': '[]'
33
34 Style/StringLiterals:
35   EnforcedStyle: double_quotes
36
37 Style/SymbolArray:
38   EnforcedStyle: brackets
39
40 Style/TrailingCommaInArrayLiteral:
41   Enabled: false
42
43 Style/TrailingCommaInHashLiteral:
44   Enabled: false