馃毃 Add lint script

parent 17eca909
......@@ -11,7 +11,7 @@ eslint:
stage: test
script:
- npm install eslint eslint-plugin-node
- ./node_modules/.bin/eslint .
- npm run lint
irc:
stage: test
......
......@@ -5,9 +5,10 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"lint": "eslint .",
"test": "time node tests/run.js",
"doc": "node ./node_modules/.bin/jsdoc -c ./jsdoc.conf.json -u tutorials/ -t ./node_modules/ink-docstrap/template -R README.md -r index.js lib/",
"doc:dev": "node ./node_modules/.bin/jsdoc -c ./jsdoc.conf.json -u tutorials/ -t ./node_modules/ink-docstrap/template -R README.md -r -p index.js lib/"
"doc": "jsdoc -c ./jsdoc.conf.json -u tutorials/ -t ./node_modules/ink-docstrap/template -R README.md -r index.js lib/",
"doc:dev": "jsdoc -c ./jsdoc.conf.json -u tutorials/ -t ./node_modules/ink-docstrap/template -R README.md -r -p index.js lib/"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment