chore: setup pnpm lock guard on commit

This commit is contained in:
Anthony Fu committed 2025-03-12 23:44:55 +08:00
1 parent 6011481edc
commit 95557b44ae
3 files changed
+33 -101

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@
"yaml": "catalog:testing"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"