Skip to content

Commit 57ce0cc

Browse files
committed
Added Husky conf
1 parent 9d7ffed commit 57ce0cc

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
./node_modules/.bin/pretty-quick --staged

.husky/pre-push

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run test

0 commit comments

Comments
 (0)