ShtukbaseStandard
页面/norms/code/code-deep-modules.md

设置:代码:Ousterhout 的深模块

页面字段(3)
minExports6
minDepth8
exclude

code-deep-modules 包检查的阈值。修改页头中的数字,检查在下次运行时即采用新值。若某个键缺失,则使用默认值。

键默认值含义
minExports6公开函数达到多少个起,检查模块的深度(DM-R01)
minDepth8每个公开函数的代码行数;少于此数则模块为浅(DM-R01)

exclude 是从项目根目录起算的路径掩码,本包的检查不读取这些路径:src/generated/**、legacy、**/*_pb.ts。所有代码包的共享排除项见页面 /norms/code.md。

包 代码:Ousterhout 的深模块 会把此页面放在 /norms/code/code-deep-modules.md。源文本