-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
46 lines (39 loc) · 1.03 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
Lint/FormatParameterMismatch:
Exclude:
- 'test/lvm/unittests/mock.rb'
Lint/UselessAssignment:
Exclude:
- 'resources/nimclient.rb'
Metrics/BlockNesting:
Max: 4
Metrics/ParameterLists:
Max: 6
Naming/AccessorMethodName:
Exclude:
- 'libraries/patch_mgmt.rb'
- 'libraries/storage_objects.rb'
- 'providers/altdisk.rb'
- 'test/lvm/unittests/mock.rb'
Naming/ClassAndModuleCamelCase:
Exclude:
- 'test/lvm/unittests/tc_aix_storage_objects.rb'
- 'test/lvm/unittests/tc_storage_objects.rb'
Style/IfUnlessModifier:
Exclude:
- 'libraries/lvmobj_fs.rb'
- 'libraries/lvmobj_lv.rb'
- 'libraries/lvmobj_vg.rb'
- 'libraries/patch_mgmt.rb'
- 'providers/altdisk.rb'
- 'providers/bootlist.rb'
- 'providers/multibos.rb'
- 'providers/subsystem.rb'
- 'resources/chdev.rb'
- 'resources/nimclient.rb'
- 'resources/nimviosupdate.rb'
- 'resources/no.rb'
- 'resources/tunables.rb'
- 'test/lvm/unittests/mock.rb'
Style/NonNilCheck:
Exclude:
- 'test/lvm/unittests/ts_all.rb'