mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
fix: stage modified files as part of pre-commit hook (#985)
This commit is contained in:
parent
8416275e25
commit
5b77b0f628
@ -47,7 +47,10 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": "npm run lint"
|
||||
"*.js": [
|
||||
"npm run lint",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"marked": "^0.7.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user