add linting (eslint) to travis

This commit is contained in:
Konstantin Pogorelov
2021-02-18 13:04:39 +01:00
parent 7c35f1beb6
commit 3ffdeef8ae
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,6 @@ notifications:
before_install:
- npm install prom-client
script:
- npm run lint
- npm test
- npm run dtslint

View File

@@ -17,6 +17,7 @@
"types": "types",
"scripts": {
"test": "node_modules/jasme/run.js",
"lint": "eslint src",
"coverage": "make coverage",
"dtslint": "dtslint types"
},