Run eslint as part of npm test

v1.18.x
Mathias Schreck 9 years ago
parent 159da18e9f
commit 824c6d9362

@ -12,6 +12,7 @@
"scripts": { "scripts": {
"start": "node loader.js", "start": "node loader.js",
"lint": "eslint --cache .", "lint": "eslint --cache .",
"pretest": "npm run lint",
"test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- ./tests -t 10000" "test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- ./tests -t 10000"
}, },
"dependencies": { "dependencies": {

Loading…
Cancel
Save