Skip to content

Commit

Permalink
chore: update husky configuration after v8 to v9 bump
Browse files Browse the repository at this point in the history
  • Loading branch information
edvinasjurele committed Oct 22, 2024
1 parent 00a9305 commit ca4dea7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

npm test
npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"format:package-json": "sort-package-json package.json lib/package.json",
"format:prettier": "prettier --write .",
"lint": "eslint . --ext .js,.ts,.astro",
"prepare": "husky install",
"prepare": "husky",
"prettier:check": "prettier --check .",
"qa": "npm run test && npm run lint && npm run prettier:check",
"test": "npm run test:unit --workspace=lib"
Expand Down

0 comments on commit ca4dea7

Please sign in to comment.