summaryrefslogtreecommitdiffstats
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2017-01-24 15:21:09 +0000
committerLennart Weller <lhw@ring0.de>2017-01-24 15:21:09 +0000
commit3ed3b02ed96ddab1c084811f3579b3a2aec83e04 (patch)
tree7a61ab288ae47800c4f11be5677d6ad8288dcd98 /.codeclimate.yml
parentNew upstream version 1.4.0+dfsg (diff)
downloadnetdata-3ed3b02ed96ddab1c084811f3579b3a2aec83e04.tar.xz
netdata-3ed3b02ed96ddab1c084811f3579b3a2aec83e04.zip
New upstream version 1.5.0+dfsgupstream/1.5.0+dfsg
Diffstat (limited to '.codeclimate.yml')
-rw-r--r--.codeclimate.yml66
1 files changed, 66 insertions, 0 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
new file mode 100644
index 000000000..91e0babae
--- /dev/null
+++ b/.codeclimate.yml
@@ -0,0 +1,66 @@
+---
+engines:
+ csslint:
+ enabled: true
+ duplication:
+ enabled: true
+ config:
+ languages:
+ - ruby
+ - javascript
+ - python
+ - php
+ checks:
+ Similar 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
+ fixme:
+ enabled: false
+ phpmd:
+ enabled: true
+ radon:
+ enabled: true
+ checks:
+ Complexity:
+ enabled: false
+ratings:
+ paths:
+ - "**.css"
+ - "**.inc"
+ - "**.js"
+ - "**.jsx"
+ - "**.module"
+ - "**.php"
+ - "**.py"
+ - "**.rb"
+exclude_paths:
+- .gitignore
+- conf.d/
+- hooks/
+- tests/
+- m4/
+- web/css/
+- web/lib/
+- web/fonts/
+- web/old/
+- python.d/python_modules/pyyaml2/
+- python.d/python_modules/pyyaml3/
+- node.d/node_modules/ber/
+- node.d/node_modules/asn1.js
+- node.d/node_modules/extend.js
+- node.d/node_modules/pixl-xml.js
+- node.d/node_modules/net-snmp.js