Skip to content

Commit c00ef5a

Browse files
committed
ci: add husky pre commit
1 parent c2d651e commit c00ef5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)