Skip to content

Commit

Permalink
Add git hook format
Browse files Browse the repository at this point in the history
  • Loading branch information
vanarok committed Aug 3, 2024
1 parent 86f8d87 commit b8cb0d2
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
"typescript": "^5.3.3",
"unocss": "^0.61.0",
"vue-tsc": "^2.0.6",
"wxt": "^0.18.0"
"wxt": "^0.18.0",
"simple-git-hooks": "^2.11.1",
"lint-staged": "^15.2.8"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,html,css,vue}": "prettier --write --config .prettierrc"
}
}
Loading

0 comments on commit b8cb0d2

Please sign in to comment.