Skip to content

Commit 5b77b0f

Browse files
jamesgeorge007anikethsaha
authored andcommitted
fix: stage modified files as part of pre-commit hook (#985)
1 parent 8416275 commit 5b77b0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@
4747
}
4848
},
4949
"lint-staged": {
50-
"*.js": "npm run lint"
50+
"*.js": [
51+
"npm run lint",
52+
"git add"
53+
]
5154
},
5255
"dependencies": {
5356
"marked": "^0.7.0",

0 commit comments

Comments
 (0)