From 824c6d93626c5bf80862be1ac9c6fd417db1cb24 Mon Sep 17 00:00:00 2001 From: Mathias Schreck Date: Tue, 16 Aug 2016 19:41:02 +0200 Subject: [PATCH] Run eslint as part of npm test --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6b4ad6bfcf..00f6fb2f30 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "scripts": { "start": "node loader.js", "lint": "eslint --cache .", + "pretest": "npm run lint", "test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- ./tests -t 10000" }, "dependencies": {