forked from cloudfoundry/bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
78 lines (59 loc) · 1.35 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
68
69
70
71
72
73
74
75
76
77
78
AllCops:
Include:
- "**/Gemfile"
- Rakefile
Exclude:
- agent_client/docs/**/*
- bin/**/*
- bosh_cli/**/*
- bosh_cli_plugin_aws/**/*
- bosh_common/**/*
- bosh_cpi/**/*
- bosh-registry/**/*
- bosh-monitor/**/*
- bosh-release/**/*
- release/**/*
- simple_blobstore_server/**/*
- spec/**/*
- stemcell_builder/**/*
- vendor/**/*
- tmp/**/*
- go/**/*
CollectionMethods:
Enabled: false # Enabling this doesn't like "inject"
Encoding:
Enabled: false
EndAlignment:
Enabled: false
LineLength:
Max: 119
Documentation:
Enabled: false
CaseIndentation:
Enabled: false
ClassLength:
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
WordArray:
Enabled: false # '%w' isn't always more readable and is often less consistent
inherit_from: .rubocop_todo.yml
ClassLength:
Enabled: false
UselessSetterCall:
Enabled: false