Skip to content

Commit 75205c0

Browse files
committed
chore: update husky hooks for commit and pre-push linting
1 parent 98199c6 commit 75205c0

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/usr/bin/env sh
12
npx --no -- commitlint --edit $1

.husky/pre-commit

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
npm test
1+
#!/usr/bin/env sh
2+
npm run lint

.husky/pre-push

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
npm test

0 commit comments

Comments
 (0)