docs: 补齐响应式与界面规则,新增规则样张技能

This commit is contained in:
2026-11-20 09:42:24 +08:00
parent 1a81ddcea8
commit 3349b0d430
20 changed files with 872 additions and 53 deletions
+1 -1
View File
@@ -36,6 +36,6 @@
### 提交前检查
- 运行 `npm run type-check`、`npm run lint`(0 error 才可提交;`no-explicit-any` 允许存量警告,新代码避免 any)、`npm run test`、`npm run build`。
- 运行 `npm run type-check`、`npm run lint`(0 error 才可提交;`no-explicit-any` 允许存量警告,新代码避免 any)、`npm run lint:ui`、`npm run test`、`npm run build`。
- **不要用 `npx vue-tsc --noEmit` 作为检查手段**:`tsconfig.json` 是 solution 风格(`files: []` + 仅 `references`),该命令会解析到根配置而检查 0 个源文件,永远假绿。Docker 构建跑的是 `npm run type-check`(`vue-tsc --build --force`,走 project references),只有它才真正校验。
- 提交信息按 Git 提交规范使用中文短句;样式类改动用 `style:`,清理类用 `refactor:` / `chore:`。