mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
fix: stage modified files as part of pre-commit hook (#985)
This commit is contained in:
+4
-1
@@ -47,7 +47,10 @@
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": "npm run lint"
|
||||
"*.js": [
|
||||
"npm run lint",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"marked": "^0.7.0",
|
||||
|
||||
Reference in New Issue
Block a user