forked from HuaweiSoft/bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
67 lines (53 loc) · 1.27 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
65
66
67
AllCops:
Include:
- Gemfile
- Rakefile
Exclude:
- agent_client/docs/**/*
- bin/**/*
- bosh_aws_cpi/**/*
- bosh_cli/**/*
- bosh_cli_plugin_aws/**/*
- bosh_common/**/*
- bosh_cpi/**/*
- bosh_openstack_cpi/**/*
- bosh-registry/**/*
- bosh_vsphere_cpi/**/*
- bosh_warden_cpi/**/*
- bosh-monitor/**/*
- bosh-release/**/*
- bosh-stemcell/spec/stemcells/centos_spec.rb
- release/**/*
- simple_blobstore_server/**/*
- spec/**/*
- stemcell_builder/**/*
- vendor/**/*
- tmp/**/*
CollectionMethods:
Enabled: false # Enabling this doesn't like "inject"
Encoding:
Enabled: false
LineLength:
Max: 119
Documentation:
Enabled: false
CaseIndentation:
Enabled: false
DotPosition:
Enabled: false
MethodLength:
CountComments: false
Max: 20
Blocks:
Enabled: false # {} for multi-line blocks in RSpec expectations is very common
TrivialAccessors:
Enabled: false # Bosh::Stemcell::Infrastructure#light? was a false positive
SpecialGlobalVars:
Enabled: false # Unfortunately $CHILD_STATUS isn't always the same as $?
AlignParameters:
Enabled: false
IfUnlessModifier:
Enabled: false # It's nice to be able to use an if on its line
TrailingComma:
Enabled: false
inherit_from: .rubocop_todo.yml