-
Notifications
You must be signed in to change notification settings - Fork 74
/
.rubocop.yml
54 lines (45 loc) · 1.61 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
Layout/ConditionPosition:
Exclude:
- 'lib/chef/provisioning/fog_driver/driver.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'lib/chef/provisioning/fog_driver/driver.rb'
- 'lib/chef/provisioning/fog_driver/providers/vcair.rb'
Lint/AmbiguousBlockAssociation:
Exclude:
- 'examples/vcair/vcloud_director_simple.rb'
Lint/IneffectiveAccessModifier:
Exclude:
- 'lib/chef/provisioning/fog_driver/driver.rb'
- 'lib/chef/provisioning/fog_driver/providers/aws.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/chef/provisioning/fog_driver/providers/scaleway.rb'
Lint/UselessAssignment:
Exclude:
- 'lib/chef/provider/fog_key_pair.rb'
- 'lib/chef/provisioning/fog_driver/driver.rb'
- 'lib/chef/provisioning/fog_driver/providers/aws.rb'
- 'lib/chef/provisioning/fog_driver/providers/vcair.rb'
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'lib/chef/provisioning/fog_driver/providers/softlayer.rb'
# Cop supports --auto-correct.
Performance/RedundantMatch:
Exclude:
- 'lib/chef/provisioning/fog_driver/providers/vcair.rb'
Security/Eval:
Exclude:
- 'lib/chef/provisioning/fog_driver/providers/xenserver.rb'
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'lib/chef/provisioning/fog_driver/providers/digitalocean.rb'