Skip to content

Commit

Permalink
chore: remove deprecated husky code (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renji-XD authored Aug 2, 2024
1 parent 3389d71 commit f84b629
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

npx lint-staged
npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "cd apps/web && pnpm dev",
"build": "cd apps/web && pnpm build",
"prepare": "husky install",
"prepare": "husky",
"check": "eslint --fix-dry-run .",
"check:pretty": "prettier --debug-check .",
"lint": "eslint --fix .",
Expand Down

0 comments on commit f84b629

Please sign in to comment.