Skip to content

Commit

Permalink
Add 'lint' script to package.json
Browse files Browse the repository at this point in the history
- This makes it so that people don't have to have jshint globally installed.
- You can simply run `npm run lint`
- Added .jshintignore file to ignore files in node_modules, and coverage
  • Loading branch information
openam committed Dec 8, 2015
1 parent 1579e9f commit 7749a30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .jshintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage/**
node_modules/**
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "src/index.js",
"repository": "https://github.com/leankit-labs/wascally",
"scripts": {
"lint": "jshint ./",
"test": "gulp test-and-exit"
},
"publishConfig": {
Expand Down

0 comments on commit 7749a30

Please sign in to comment.