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