]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Qualify property names
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   TargetRubyVersion: 2.3
5
6 Layout/AlignParameters:
7   Exclude:
8     - '**/metadata.rb'
9
10 Layout/ExtraSpacing:
11   AllowForAlignment: true
12
13 Layout/IndentHeredoc:
14   EnforcedStyle: squiggly
15
16 Naming/FileName:
17   Exclude:
18     - 'cookbooks/trac/files/default/trac-authenticate'
19     - 'cookbooks/planet/files/default/replication-bin/replicate-changesets'
20     - 'cookbooks/*/templates/*/*.erb'
21     - 'hooks/*'
22     - 'roles/*.rb'
23
24 Style/FrozenStringLiteralComment:
25   EnforcedStyle: never
26
27 Style/HashSyntax:
28   EnforcedStyle: hash_rockets
29
30 Style/StringLiterals:
31   EnforcedStyle: double_quotes
32
33 Style/SymbolArray:
34   EnforcedStyle: brackets