forked from ManageIQ/manageiq-providers-ibm_cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
40 lines (40 loc) · 999 Bytes
/
.codeclimate.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
version: '2'
prepare:
fetch:
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
path: ".rubocop_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
path: ".rubocop_cc_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
path: styles/base.yml
- url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
path: styles/cc_base.yml
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
config:
threshold: 11
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
plugins:
rubocop:
enabled: true
config: ".rubocop_cc.yml"
channel: rubocop-0-82
exclude_patterns:
- node_modules/
- spec/
- test/
- tmp/
- vendor/