@samitouri / QOS-React-2 / commits / ddac9473ca

npm script to run lint only on changed files

Paul O’Shannessy committed Jun 16, 2015 at 01:16 UTC ddac9473ca5d92562f1eb0790dd00b9ff5940915
1 file changed +1
package.json
+1
@@ -75,6 +75,7 @@
75 "test": "jest",
76 "jest": "jest",
77 "lint": "grunt lint",
78 + "linc": "git diff --name-only --diff-filter=ACMRTUB `git merge-base HEAD master` | grep '\\.js$' | xargs eslint --",
79 "build": "grunt build"
80 },
81 "jest": {