package page→ /norms/code/code-deep-modules.md
pages/norms/code/code-deep-modules.md
18 lines, 806 B. As a page.
- ---
- type: Page
- title: 'Settings: Code: deep modules after Ousterhout'
- minExports: 6
- minDepth: 8
- exclude: []
- ---
- # Settings: Code: deep modules after Ousterhout
- Thresholds of the checks of the `code-deep-modules` package. Change a number in the header and the checks will take it on the next run. If a key is absent, the default value is used.
- | Key | Default | What it means |
- |---|---|---|
- | `minExports` | 6 | from how many public functions on, look at a module's depth (DM-R01) |
- | `minDepth` | 8 | lines of code per public function; fewer means the module is shallow (DM-R01) |
- `exclude` is path masks from the project root that this package's checks do not read: `src/generated/**`, `legacy`, `**/*_pb.ts`. Shared exclusions for all code packages are on the page [/norms/code.md](/norms/code.md).