Skip to content

Commit

Permalink
chore: add git-exec-and-restage to avoid shit with lint-staged and gi…
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed May 16, 2017
1 parent 96a978f commit e0c22f7
Show file tree
Hide file tree
Showing 2 changed files with 1,313 additions and 71 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-react": "^6.10.3",
"flow-bin": "^0.42.0",
"git-exec-and-restage": "^1.0.1",
"husky": "^0.13.3",
"jest": "^19.0.0",
"lerna": "2.0.0-beta.32",
Expand Down Expand Up @@ -54,8 +55,7 @@
},
"lint-staged": {
"*.js": [
"prettier --write --parser=flow --no-semi --trailing-comma=all",
"git add"
"git-exec-and-restage prettier --write --parser=flow --no-semi --trailing-comma=all"
]
},
"babel": {
Expand Down
Loading

0 comments on commit e0c22f7

Please sign in to comment.