chore: 增加代码规范和提交校验

Made-with: Cursor
This commit is contained in:
2026-04-03 16:23:35 +08:00
parent e48462cf4a
commit 7eed1ad5c6
10 changed files with 2382 additions and 36 deletions

5
.husky/pre-commit Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"
yarn lint
yarn format:check