feat(ci): correct the pre-commit
This commit is contained in:
parent
de585dd392
commit
fd76d2a26f
2 changed files with 2 additions and 1 deletions
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
|
|
@ -0,0 +1 @@
|
|||
pnpm lint-staged
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"prepare": "husky install"
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,jsx,tsx,astro,html,md,json,yml,yaml}": "prettier --write"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue