Enable peering for squid 4 caches
[chef.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 require: rubocop-performance
4
5 AllCops:
6   TargetRubyVersion: 2.3
7
8 Layout/AlignParameters:
9   Exclude:
10     - '**/metadata.rb'
11
12 Layout/ExtraSpacing:
13   AllowForAlignment: true
14
15 Layout/IndentHeredoc:
16   EnforcedStyle: squiggly
17
18 Naming/FileName:
19   Exclude:
20     - 'cookbooks/trac/files/default/trac-authenticate'
21     - 'cookbooks/planet/files/default/replication-bin/replicate-changesets'
22     - 'cookbooks/*/templates/*/*.erb'
23     - 'hooks/*'
24     - 'roles/*.rb'
25
26 Naming/UncommunicativeMethodParamName:
27   Enabled: false
28
29 Style/FrozenStringLiteralComment:
30   EnforcedStyle: never
31
32 Style/HashSyntax:
33   EnforcedStyle: hash_rockets
34
35 Style/IfUnlessModifier:
36   Enabled: false
37
38 Style/StringLiterals:
39   EnforcedStyle: double_quotes
40
41 Style/SymbolArray:
42   EnforcedStyle: brackets