npm script to run lint only on changed files

This commit is contained in:
Paul O’Shannessy
2015-06-16 11:24:02 -07:00
parent 78da37da50
commit ddac9473ca
+1
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": {