-
Notifications
You must be signed in to change notification settings - Fork 121
/
.rubocop.yml
64 lines (53 loc) · 1.86 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
56
57
58
59
60
61
62
63
64
Layout/EndAlignment:
Exclude:
- 'lib/chef/provider/aws_s3_bucket.rb'
- 'lib/chef/provider/aws_security_group.rb'
- 'lib/chef/provisioning/aws_driver/driver.rb'
Lint/AmbiguousBlockAssociation:
Exclude:
- 'docs/examples/aws_cloudwatch_alarm.rb'
- 'docs/examples/load_balancer.rb'
- 'docs/examples/ref_destroy.rb'
Lint/DuplicatedKey:
Exclude:
- 'docs/examples/aws_sg.rb'
Lint/IneffectiveAccessModifier:
Exclude:
- 'lib/chef/provisioning/aws_driver/aws_provider.rb'
- 'lib/chef/provisioning/aws_driver/aws_resource.rb'
- 'lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb'
- 'lib/chef/resource/aws_sqs_queue.rb'
Lint/NestedMethodDefinition:
Exclude:
- 'spec/aws_support.rb'
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'docs/examples/load_balancer.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/chef/provisioning/aws_driver/aws_resource.rb'
- 'lib/chef/provisioning/aws_driver/driver.rb'
Lint/UselessAccessModifier:
Exclude:
- 'lib/chef/provisioning/aws_driver/aws_resource.rb'
- 'lib/chef/resource/aws_sqs_queue.rb'
Lint/UselessAssignment:
Exclude:
- 'docs/examples/aws_rds_subnet_group.rb'
- 'lib/chef/provider/aws_key_pair.rb'
- 'lib/chef/provider/aws_rds_instance.rb'
- 'lib/chef/provider/aws_security_group.rb'
- 'lib/chef/provisioning/aws_driver/aws_resource_with_entry.rb'
- 'lib/chef/provisioning/aws_driver/driver.rb'
- 'lib/chef/provisioning/aws_driver/tagging_strategy/s3.rb'
- 'lib/chef/resource/aws_route53_hosted_zone.rb'
- 'spec/integration/aws_security_group_spec.rb'
Performance/TimesMap:
Exclude:
- 'spec/unit/chef/provisioning/aws_driver/route53_spec.rb'
Security/Eval:
Exclude:
- 'lib/chef/provisioning/aws_driver/aws_resource.rb'
Style/MultilineTernaryOperator:
Exclude:
- 'lib/chef/provider/aws_network_interface.rb'