fix(build): add codeclimate and npm configs
This commit is contained in:
parent
9c2f1eb57a
commit
1243a9987e
|
@ -0,0 +1,33 @@
|
|||
version: "2"
|
||||
|
||||
checks:
|
||||
method-complexity:
|
||||
config:
|
||||
threshold: 6 # 5 is *just* too low and flags a number of otherwise readable methods
|
||||
method-lines:
|
||||
config:
|
||||
threshold: 30 # with object literals, lines are not a great measure
|
||||
|
||||
exclude_patterns:
|
||||
- CHANGELOG.md
|
||||
- config/
|
||||
- docs/api/
|
||||
- vendor/
|
||||
|
||||
plugins:
|
||||
duplication:
|
||||
enabled: true
|
||||
config:
|
||||
languages:
|
||||
typescript:
|
||||
mass_threshold: 225
|
||||
eslint:
|
||||
enabled: true
|
||||
config:
|
||||
config: .eslintrc.js
|
||||
fixme:
|
||||
enabled: true
|
||||
markdownlint:
|
||||
enabled: true
|
||||
shellcheck:
|
||||
enabled: true
|
|
@ -0,0 +1,35 @@
|
|||
.awcache/
|
||||
.github/
|
||||
.nyc_output/
|
||||
|
||||
config/
|
||||
deploy/
|
||||
node_modules/
|
||||
out/cache/
|
||||
out/coverage/
|
||||
out/coverage-*
|
||||
out/docs/
|
||||
out/typings/
|
||||
out/*.db
|
||||
out/*.html
|
||||
out/*.json
|
||||
out/test-*
|
||||
out/tmp/
|
||||
scripts/
|
||||
src/
|
||||
temp/
|
||||
test/
|
||||
vendor/
|
||||
|
||||
.codeclimate.yml
|
||||
.dockerignore
|
||||
.gitlab-ci.yml
|
||||
.gitmodules
|
||||
.mdlrc
|
||||
|
||||
Dockerfile
|
||||
licensed.yml
|
||||
Makefile
|
||||
renovate.json
|
||||
tsconfig.json
|
||||
yarn-*
|
Loading…
Reference in New Issue