Skip to content

Commit cb31275

Browse files
committed
feat-dev: add git pre-commit lint action
1 parent db505bd commit cb31275

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+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint

0 commit comments

Comments
 (0)