Make 'npm run lint' lint all files including configuration
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 04 Jul 2017 12:26:39 +0200
changeset 251 5e20ac53b497
parent 250 e7fa3b86f6c4
child 252 6742e5af0acb
Make 'npm run lint' lint all files including configuration Also apply eslint --fix
package.json
--- a/package.json	Thu Jul 06 11:22:13 2017 +0200
+++ b/package.json	Tue Jul 04 12:26:39 2017 +0200
@@ -69,7 +69,7 @@
     "test": "karma start --single-run || true",
     "build": "webpack --progress --config webpack/common.config.js",
     "watch": "webpack --progress -d --watch",
-    "lint": "eslint --cache src test",
+    "lint": "eslint --cache .",
     "start": "webpack-dev-server"
   },
   "repository": {