Skip to content

Commit 17d7b7e

Browse files
author
mochatek
committed
chore: Setup husky pre-commit hook
1 parent 022b345 commit 17d7b7e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.husky/_/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname "$0")/h"

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run format:check && npm test

0 commit comments

Comments
 (0)