forked from netdata/netdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
100 lines (99 loc) · 1.84 KB
/
.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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "2"
checks:
argument-count:
enabled: false
config:
threshold: 10
complex-logic:
enabled: false
config:
threshold: 10
file-lines:
enabled: false
config:
threshold: 5000
method-complexity:
enabled: false
config:
threshold: 20
method-count:
enabled: false
config:
threshold: 50
method-lines:
enabled: false
config:
threshold: 250
nested-control-flow:
enabled: false
config:
threshold: 4
return-statements:
enabled: false
config:
threshold: 4
similar-code:
enabled: false
identical-code:
enabled: false
plugins:
csslint:
enabled: true
duplication:
enabled: false
config:
languages:
- javascript:
mass_threshold: 100
- python:
python_version: 3
mass_threshold: 100
checks:
Similar code:
enabled: false
Identical code:
enabled: false
eslint:
enabled: true
checks:
max-statements:
enabled: false
complexity:
enabled: false
no-eval:
enabled: false
no-extend-native:
enabled: false
no-void:
enabled: false
no-alert:
enabled: false
no-undef-init:
enabled: false
fixme:
enabled: false
phpmd:
enabled: true
radon:
enabled: true
checks:
Complexity:
enabled: false
exclude_patterns:
- ".gitignore"
- "conf.d/"
- "hooks/"
- "tests/"
- "m4/"
- "web/css/"
- "web/lib/"
- "web/fonts/"
- "web/old/"
- "python.d/python_modules/pyyaml2/"
- "python.d/python_modules/pyyaml3/"
- "python.d/python_modules/urllib3/"
- "node.d/node_modules/lib/"
- "node.d/node_modules/asn1-ber.js"
- "node.d/node_modules/extend.js"
- "node.d/node_modules/pixl-xml.js"
- "node.d/node_modules/net-snmp.js"