Skip to content

Commit

Permalink
build(deps): update dependency husky to v9 (#176)
Browse files Browse the repository at this point in the history
* build(deps): update dependency husky to v9

* refactor: migrate to husky v9

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Josh Willox <[email protected]>
  • Loading branch information
renovate[bot] and jcwillox authored Jul 27, 2024
1 parent 5081130 commit 799b7dc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

if [ -t 2 ]; then
exec >/dev/tty 2>&1
fi

npx lint-staged
lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"type": "module",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "vite build",
"build:tsc": "tsc && vite build",
"typecheck": "tsc",
Expand Down Expand Up @@ -36,7 +36,7 @@
"eslint-plugin-import": "2.29.0",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-prettier": "5.0.1",
"husky": "8.0.3",
"husky": "9.1.1",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"typescript": "5.2.2"
Expand Down
17 changes: 11 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 799b7dc

Please sign in to comment.