]> git.openstreetmap.org Git - chef.git/blob - .rubocop.yml
Enable netplan for Scandinavian tile caches
[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 Naming/UncommunicativeMethodParamName:
25   Enabled: false
26
27 Style/FrozenStringLiteralComment:
28   EnforcedStyle: never
29
30 Style/HashSyntax:
31   EnforcedStyle: hash_rockets
32
33 Style/IfUnlessModifier:
34   Enabled: false
35
36 Style/StringLiterals:
37   EnforcedStyle: double_quotes
38
39 Style/SymbolArray:
40   EnforcedStyle: brackets