Skip to content

Commit

Permalink
Add Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Feb 1, 2016
1 parent 4144d7a commit 80151d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "My LeetCode solutions using JavaScript.",
"main": "index.js",
"scripts": {
"test": "mocha"
"test": "npm run lint && mocha",
"lint": "eslint . && echo 'ESLint Passed.\\n'"
},
"author": "xcatliu <xcatliu@gmail.com>",
"license": "MIT",
Expand Down

0 comments on commit 80151d1

Please sign in to comment.