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:
parent
665cfbe317
commit
7d9e76977b
@ -14,7 +14,7 @@
|
|||||||
"start": "node index",
|
"start": "node index",
|
||||||
"build": "grunt",
|
"build": "grunt",
|
||||||
"test": "HOME=test/fixtures mocha test/**/*.js && npm run lint",
|
"test": "HOME=test/fixtures mocha test/**/*.js && npm run lint",
|
||||||
"lint": "eslint index.js Gruntfile.js src/ test/ client/ defaults/"
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"browser",
|
"browser",
|
||||||
|
Loading…
Reference in New Issue
Block a user