package.json: lint all .js files

This makes the linting process less prone to miss new (or even
existing) files. Ignoring specific file paths is delegated to the
.eslintignore file in the root directory.
This commit is contained in:
William Boman 2016-02-07 11:40:08 +01:00
parent 665cfbe317
commit 7d9e76977b

View file

@ -14,7 +14,7 @@
"start": "node index",
"build": "grunt",
"test": "HOME=test/fixtures mocha test/**/*.js && npm run lint",
"lint": "eslint index.js Gruntfile.js src/ test/ client/ defaults/"
"lint": "eslint ."
},
"keywords": [
"browser",