forked from sous-chefs/postgresql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
55 lines (46 loc) · 1.36 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'libraries/default.rb'
- 'recipes/yum_pgdg_postgresql.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'libraries/default.rb'
Lint/UnreachableCode:
Exclude:
- 'libraries/default.rb'
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'libraries/default.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/MethodName:
Exclude:
- 'libraries/default.rb'
Style/MultilineBlockChain:
Exclude:
- 'recipes/server.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
# SupportedStyles: skip_modifier_ifs, always
Style/Next:
Exclude:
- 'libraries/default.rb'
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'libraries/default.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Exclude:
- 'spec/unit/server_spec.rb'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/VariableName:
Exclude:
- 'libraries/default.rb'