Skip to content

Node.js based forum software built for the modern web

Run eslint as part of npm test

Mathias Schreck824c6d93626c
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": {