Merge pull request #1460 from JustinBeckwith/linty
chore: upgrade eslint and add fix command
Showing
... | ... | @@ -11,7 +11,8 @@ |
"version": "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json", | ||
"postversion": "git push && git push --tags", | ||
"examples": "node ./examples/server.js", | ||
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" | ||
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", | ||
"fix": "eslint --fix lib/**/*.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -40,7 +41,7 @@ |
"grunt-contrib-clean": "^1.1.0", | ||
"grunt-contrib-nodeunit": "^1.0.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-eslint": "^19.0.0", | ||
"grunt-eslint": "^20.1.0", | ||
"grunt-karma": "^2.0.0", | ||
"grunt-ts": "^6.0.0-beta.19", | ||
"grunt-webpack": "^1.0.18", | ||
... | ... |
想要评论请 注册 或 登录