@cryptotaxi247 / netdata-1 / commits / e792a9350

updated codeclimate config to v2

Costa Tsaousis (ktsaou) committed Nov 25, 2017 at 10:54 UTC e792a935021fc92797ee0702f67988afa785b971
1 file changed +65 -34
.codeclimate.yml
+65 -34
@@ -1,15 +1,55 @@
1 ----
2 -engines:
1 +version: "2"
2 +checks:
3 + argument-count:
4 + enabled: false
5 + config:
6 + threshold: 6
7 + complex-logic:
8 + enabled: true
9 + config:
10 + threshold: 4
11 + file-lines:
12 + enabled: false
13 + config:
14 + threshold: 250
15 + method-complexity:
16 + enabled: true
17 + config:
18 + threshold: 5
19 + method-count:
20 + enabled: false
21 + config:
22 + threshold: 20
23 + method-lines:
24 + enabled: false
25 + config:
26 + threshold: 25
27 + nested-control-flow:
28 + enabled: true
29 + config:
30 + threshold: 4
31 + return-statements:
32 + enabled: true
33 + config:
34 + threshold: 4
35 + similar-code:
36 + enabled: true
37 + config:
38 + identical-code:
39 + enabled: true
40 + config:
41 +plugins:
42 csslint:
43 enabled: true
44 duplication:
45 enabled: true
46 config:
47 languages:
9 - - ruby
10 - - javascript
11 - - python
12 - - php
48 + - javascript:
49 + mass_threshold: 20
50 + - python:
51 + python_version: 3
52 + mass_threshold: 20
53 checks:
54 Similar code:
55 enabled: false
@@ -41,31 +81,22 @@ engines:
81 checks:
82 Complexity:
83 enabled: false
44 -ratings:
45 - paths:
46 - - "**.css"
47 - - "**.inc"
48 - - "**.js"
49 - - "**.jsx"
50 - - "**.module"
51 - - "**.php"
52 - - "**.py"
53 - - "**.rb"
54 -exclude_paths:
55 -- .gitignore
56 -- conf.d/
57 -- hooks/
58 -- tests/
59 -- m4/
60 -- web/css/
61 -- web/lib/
62 -- web/fonts/
63 -- web/old/
64 -- python.d/python_modules/pyyaml2/
65 -- python.d/python_modules/pyyaml3/
66 -- python.d/python_modules/urllib3/
67 -- node.d/node_modules/lib/
68 -- node.d/node_modules/asn1-ber.js
69 -- node.d/node_modules/extend.js
70 -- node.d/node_modules/pixl-xml.js
71 -- node.d/node_modules/net-snmp.js
84 +exclude_patterns:
85 + - ".gitignore"
86 + - "conf.d/"
87 + - "hooks/"
88 + - "tests/"
89 + - "m4/"
90 + - "web/css/"
91 + - "web/lib/"
92 + - "web/fonts/"
93 + - "web/old/"
94 + - "python.d/python_modules/pyyaml2/"
95 + - "python.d/python_modules/pyyaml3/"
96 + - "python.d/python_modules/urllib3/"
97 + - "node.d/node_modules/lib/"
98 + - "node.d/node_modules/asn1-ber.js"
99 + - "node.d/node_modules/extend.js"
100 + - "node.d/node_modules/pixl-xml.js"
101 + - "node.d/node_modules/net-snmp.js"
102 +