1
0
Fork 0

fix(build): add codeclimate and npm configs

This commit is contained in:
ssube 2021-05-17 12:33:06 -05:00
parent 9c2f1eb57a
commit 1243a9987e
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
4 changed files with 71 additions and 0 deletions

33
.codeclimate.yml Normal file
View File

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

2
.mdlrc Normal file
View File

@ -0,0 +1,2 @@
rules all
rules ~"MD103"

35
.npmignore Normal file
View File

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

1
.npmrc Normal file
View File

@ -0,0 +1 @@
registry=https://artifacts.apextoaster.com/repository/group-npm/