From 61aedf201c2c4bf0e5aa4db32e74f4d860b88593 Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Tue, 19 Dec 2017 23:39:21 +0000 Subject: New upstream version 1.9.0+dfsg --- .codeclimate.yml | 99 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 64 insertions(+), 35 deletions(-) (limited to '.codeclimate.yml') 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" + -- cgit v1.2.3