- Makefile 仅转发 package.json scripts(唯一事实源),补 help 自说明、 clean 清理与 check / mount / mount-aggregate / registry 四个聚合目标; check 用单条 recipe 串 typecheck → build → test → check:consumer-types, 避免 make 前置依赖在 -j 下乱序;lint 目标留给引入 ESLint 的后续 PR - .editorconfig:root + utf-8/lf/末尾换行/去尾随空格,默认 2 空格, Makefile recipe 保持 tab
16 lines
384 B
INI
16 lines
384 B
INI
# EditorConfig — https://editorconfig.org
|
||
# 仓库统一编辑器基线;缩进等风格细节以各文件的既有约定为准。
|
||
root = true
|
||
|
||
[*]
|
||
charset = utf-8
|
||
end_of_line = lf
|
||
insert_final_newline = true
|
||
trim_trailing_whitespace = true
|
||
indent_style = space
|
||
indent_size = 2
|
||
|
||
# Makefile 的 recipe 必须用真实 tab(GNU Make 硬性要求)。
|
||
[Makefile]
|
||
indent_style = tab
|