chore: add lint:check script and use it in pre-commit hook

This commit is contained in:
Yejun Su 2026-04-29 10:13:36 +08:00
parent d22b853de2
commit fc5d448a29
No known key found for this signature in database
GPG Key ID: AD03A563F321CA44
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
npm run lint npm run lint:check

View File

@ -16,6 +16,7 @@
}, },
"scripts": { "scripts": {
"lint": "biome check --write .", "lint": "biome check --write .",
"lint:check": "biome check .",
"prepare": "husky" "prepare": "husky"
}, },
"devDependencies": { "devDependencies": {