fix: stage modified files as part of pre-commit hook (#985)

This commit is contained in:
James George 2019-12-22 17:18:28 +05:30 committed by Anix
parent 8416275e25
commit 5b77b0f628

View File

@ -47,7 +47,10 @@
}
},
"lint-staged": {
"*.js": "npm run lint"
"*.js": [
"npm run lint",
"git add"
]
},
"dependencies": {
"marked": "^0.7.0",