From 6cb6d1894740e81f1447ab25359f72521921f8ae Mon Sep 17 00:00:00 2001 From: ssube Date: Thu, 27 Aug 2020 14:11:12 -0500 Subject: [PATCH] fix(build): add cc config --- .codeclimate.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..d1fd3dc --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,35 @@ +version: "2" + +checks: + method-complexity: + config: + threshold: 8 # 5 is *just* too low and flags a number of otherwise readable methods + method-lines: + config: + threshold: 40 # with object literals, lines are not a great measure + +exclude_patterns: + - CHANGELOG.md + - config/ + - docs/api/ + - docs/dev/style.md + - src/migration/ + - vendor/ + +plugins: + duplication: + enabled: true + config: + languages: + typescript: + mass_threshold: 225 + eslint: + enabled: true + config: + config: config/eslint.json + fixme: + enabled: true + markdownlint: + enabled: true + shellcheck: + enabled: true