]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Reduce pollution of the Chef namespace
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   TargetRubyVersion: 3.1
5
6 ChefModernize/IncludingAptDefaultRecipe:
7   Enabled: false
8   
9 Chef/Modernize/CronDFileOrTemplate:
10   Enabled: false
11
12 Layout/ExtraSpacing:
13   AllowForAlignment: true
14
15 Layout/HeredocIndentation:
16   Enabled: true
17
18 Naming/MethodParameterName:
19   Enabled: false
20
21 Style/CommandLiteral:
22   EnforcedStyle: percent_x
23
24 Style/HashSyntax:
25   EnforcedStyle: hash_rockets
26
27 Style/NumericPredicate:
28   EnforcedStyle: predicate
29
30 Style/PercentLiteralDelimiters:
31   PreferredDelimiters:
32     '%i': '[]'
33     '%I': '[]'
34     '%w': '[]'
35     '%W': '[]'
36
37 Style/StringLiterals:
38   EnforcedStyle: double_quotes
39
40 Style/SymbolArray:
41   EnforcedStyle: brackets
42
43 Style/TrailingCommaInArrayLiteral:
44   Enabled: false
45
46 Style/TrailingCommaInHashLiteral:
47   Enabled: false