npm script to run lint only on changed files
This commit is contained in:
parent
78da37da50
commit
ddac9473ca
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue