Skip to content

Commit 2bd9f9e

Browse files
chore(dx): add beads hooks to husky
Amp-Thread-ID: https://ampcode.com/threads/T-019ba7dd-4a3e-7053-971d-d41187f24173 Co-authored-by: Amp <amp@ampcode.com>
1 parent 026818d commit 2bd9f9e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4+
bd hooks run pre-commit
45
npx lint-staged

.husky/pre-push

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+
bd hooks run pre-push

0 commit comments

Comments
 (0)