iter(g56): ua style 增加单文件 200 行门禁
This commit is contained in:
@@ -66,4 +66,5 @@ let cached: RowModel | null = null; // memo:缓存产物
|
||||
## 7. 落地方式
|
||||
|
||||
- 新代码必须符合本规范;旧代码顺手迁移,不强制一次性全量重写。
|
||||
- 后续可做成 `ua style` 检查项:导出缺注释、接口字段缺注释、类型散落实现文件、闭包状态未集中顶部。
|
||||
- 已落地为 `ua style` 检查项:导出缺注释、接口字段缺注释、行注释非中文、分层包 src 内单文件超过 200 行(`types.ts` / `index.ts` 豁免)。
|
||||
- 仍靠人工守的:类型散落实现文件、闭包状态未集中顶部。
|
||||
|
||||
Reference in New Issue
Block a user