Skip to content

Commit

Permalink
pref:完善 husky 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazi7 committed Oct 22, 2024
1 parent bcec27f commit 2fcfa31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview",
"format": "prettier --write .",
"lint": "eslint .",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"alova": "^3.1.0",
Expand Down Expand Up @@ -43,9 +43,10 @@
"vite": "^5.4.8"
},
"lint-staged": {
".(*.ts|*.vue)": [
"*.(ts|vue)": [
"eslint --fix",
"prettier --write"
"prettier --write",
"git add"
],
"*.{json,md}": [
"prettier --write"
Expand Down

0 comments on commit 2fcfa31

Please sign in to comment.