forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
42 lines (42 loc) · 882 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
41
42
---
version: '2'
prepare:
fetch:
- url: https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_base.yml
path: ".rubocop_base.yml"
- url: https://raw.githubusercontent.com/ManageIQ/guides/master/.rubocop_cc_base.yml
path: ".rubocop_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-69'
exclude_patterns:
- config/dictionary_strings.rb
- config/model_attributes.rb
- config/yaml_strings.rb
- db/schema.rb
- lib/generators/**/templates/
- node_modules/
- spec/
- test/
- tmp/
- vendor/