1
0
Fork 0

fix(build): add cc config

This commit is contained in:
ssube 2020-08-27 14:11:12 -05:00
parent 7806b0b5c0
commit 6cb6d18947
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 35 additions and 0 deletions

35
.codeclimate.yml Normal file
View File

@ -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