dfd51c01e2c089ba5a6a7130a5fff9528eaf3bd6
[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/UncommunicativeMethodParamName:
17   Enabled: false
18
19 Style/HashSyntax:
20   EnforcedStyle: hash_rockets
21
22 Style/IfUnlessModifier:
23   Enabled: false
24
25 Style/NumericPredicate:
26   EnforcedStyle: predicate
27
28 Style/PercentLiteralDelimiters:
29   PreferredDelimiters:
30     '%i': '[]'
31     '%I': '[]'
32     '%w': '[]'
33     '%W': '[]'
34
35 Style/StringLiterals:
36   EnforcedStyle: double_quotes
37
38 Style/SymbolArray:
39   EnforcedStyle: brackets
40
41 Style/TrailingCommaInArrayLiteral:
42   Enabled: false
43
44 Style/TrailingCommaInHashLiteral:
45   Enabled: false