summaryrefslogtreecommitdiffstats
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-07 11:49:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-02-07 12:42:05 +0000
commit2e85f9325a797977eea9dfea0a925775ddd211d9 (patch)
tree452c7f30d62fca5755f659b99e4e53c7b03afc21 /.codeclimate.yml
parentReleasing debian version 1.19.0-4. (diff)
downloadnetdata-2e85f9325a797977eea9dfea0a925775ddd211d9.tar.xz
netdata-2e85f9325a797977eea9dfea0a925775ddd211d9.zip
Merging upstream version 1.29.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.codeclimate.yml')
-rw-r--r--.codeclimate.yml99
1 files changed, 99 insertions, 0 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
new file mode 100644
index 000000000..8a11c84a6
--- /dev/null
+++ b/.codeclimate.yml
@@ -0,0 +1,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"
+ - ".githooks/"
+ - "tests/"
+ - "m4/"
+ - "web/css/"
+ - "web/lib/"
+ - "web/fonts/"
+ - "web/old/"
+ - "collectors/python.d.plugin/python_modules/pyyaml2/"
+ - "collectors/python.d.plugin/python_modules/pyyaml3/"
+ - "collectors/python.d.plugin/python_modules/urllib3/"
+ - "collectors/node.d.plugin/node_modules/lib/"
+ - "collectors/node.d.plugin/node_modules/asn1-ber.js"
+ - "collectors/node.d.plugin/node_modules/extend.js"
+ - "collectors/node.d.plugin/node_modules/pixl-xml.js"
+ - "collectors/node.d.plugin/node_modules/net-snmp.js"
+