chore: update husky config.
This commit is contained in:
parent
706fe7855f
commit
fae20e6a71
3
.husky/pre-commit
vendored
3
.husky/pre-commit
vendored
@ -1,4 +1 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install lint-staged
|
||||
|
@ -8,7 +8,7 @@
|
||||
"funding": "https://jaywcjlove.github.io/#/sponsor",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"prepare": "husky install",
|
||||
"prepare": "husky",
|
||||
"build": "refs-cli",
|
||||
"start": "refs-cli --watch",
|
||||
"prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'",
|
||||
|
Loading…
x
Reference in New Issue
Block a user