npm script to run lint only on changed files

This commit is contained in:
Paul O’Shannessy 2015-06-16 01:16:59 -07:00
parent 78da37da50
commit ddac9473ca
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@
"test": "jest",
"jest": "jest",
"lint": "grunt lint",
"linc": "git diff --name-only --diff-filter=ACMRTUB `git merge-base HEAD master` | grep '\\.js$' | xargs eslint --",
"build": "grunt build"
},
"jest": {