mirror of
https://github.com/BreizhHardware/express-prom-bundle.git
synced 2026-01-18 16:27:28 +01:00
add linting (eslint) to travis
This commit is contained in:
@@ -8,6 +8,6 @@ notifications:
|
|||||||
before_install:
|
before_install:
|
||||||
- npm install prom-client
|
- npm install prom-client
|
||||||
script:
|
script:
|
||||||
|
- npm run lint
|
||||||
- npm test
|
- npm test
|
||||||
- npm run dtslint
|
- npm run dtslint
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"types": "types",
|
"types": "types",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node_modules/jasme/run.js",
|
"test": "node_modules/jasme/run.js",
|
||||||
|
"lint": "eslint src",
|
||||||
"coverage": "make coverage",
|
"coverage": "make coverage",
|
||||||
"dtslint": "dtslint types"
|
"dtslint": "dtslint types"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user