Skip to content

Commit

Permalink
ci: modify husky config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 22, 2024
1 parent 87a7453 commit 79d2aa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type-check": "tsc --noEmit",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail",
"prepare": "husky install",
"prepare": "husky",
"publish": "lerna publish from-package --yes --no-verify-access",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
Expand Down

0 comments on commit 79d2aa0

Please sign in to comment.