Skip to content

Commit

Permalink
fix: stage modified files as part of pre-commit hook (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored and anikethsaha committed Dec 22, 2019
1 parent 8416275 commit 5b77b0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
}
},
"lint-staged": {
"*.js": "npm run lint"
"*.js": [
"npm run lint",
"git add"
]
},
"dependencies": {
"marked": "^0.7.0",
Expand Down

0 comments on commit 5b77b0f

Please sign in to comment.