fix(hooks): use lint-staged to avoid index.lock race condition

This commit is contained in:
can1357
2026-01-03 06:43:10 +01:00
parent 754da171a4
commit 86bfa2dd9c
4 changed files with 78 additions and 26 deletions
+5 -1
View File
@@ -32,7 +32,11 @@
"@typescript/native-preview": "^7.0.0-dev.20260102.1",
"bun-types": "^1.3.5",
"concurrently": "^9.2.1",
"husky": "^9.1.7"
"husky": "^9.1.7",
"lint-staged": "^16.2.7"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json,jsonc,css}": "biome check --write --no-errors-on-unmatched"
},
"engines": {
"bun": ">=1.0.0"