diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:27 +0000 |
---|---|---|
committer | Federico Ceratto <federico.ceratto@gmail.com> | 2017-12-19 23:39:27 +0000 |
commit | 6abdfdead1326ccca98dc4cf415c216f1bf25400 (patch) | |
tree | 70b803bd499fd45e89627c1b45b90ddf20e8e959 /.codeclimate.yml | |
parent | Release v. 1.8.0+dfsg-1 to Unstable (diff) | |
parent | New upstream version 1.9.0+dfsg (diff) | |
download | netdata-6abdfdead1326ccca98dc4cf415c216f1bf25400.tar.xz netdata-6abdfdead1326ccca98dc4cf415c216f1bf25400.zip |
Update upstream source from tag 'upstream/1.9.0+dfsg'
Update to upstream version '1.9.0+dfsg'
with Debian dir 28b8242a05f9ad26cd1cdbcf078be754fc7d6251
Diffstat (limited to '.codeclimate.yml')
-rw-r--r-- | .codeclimate.yml | 99 |
1 files changed, 64 insertions, 35 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml index c3d4daa45..f53287ad7 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,15 +1,53 @@ ---- -engines: +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: true + enabled: false config: languages: - - ruby - - javascript - - python - - php + - javascript: + mass_threshold: 100 + - python: + python_version: 3 + mass_threshold: 100 checks: Similar code: enabled: false @@ -41,31 +79,22 @@ engines: 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/ -- 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 +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" + |