mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
npm script to run lint only on changed files
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user