Skip to content

Commit

Permalink
chore: fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
imranbarbhuiya committed Feb 19, 2024
1 parent 12499a2 commit 6d999b5
Show file tree
Hide file tree
Showing 4 changed files with 1,152 additions and 1,229 deletions.
3 changes: 0 additions & 3 deletions .github/husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
3 changes: 0 additions & 3 deletions .github/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"typecheck": "tsc -p tsconfig.eslint.json",
"bump": "cliff-jumper",
"check-update": "cliff-jumper --dry-run",
"postinstall": "husky install .github/husky",
"postinstall": "husky .github/husky",
"prepack": " yarn build && pinst --disable",
"postpack": "pinst --enable"
},
Expand Down
Loading

0 comments on commit 6d999b5

Please sign in to comment.