ShtukbaseStandard
package page→ /norms/code/code-deep-modules.md

pages/norms/code/code-deep-modules.md

18 lines, 806 B. As a page.

  1. ---
  2. type: Page
  3. title: 'Settings: Code: deep modules after Ousterhout'
  4. minExports: 6
  5. minDepth: 8
  6. exclude: []
  7. ---
  8. # Settings: Code: deep modules after Ousterhout
  9. 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.
  10. | Key | Default | What it means |
  11. |---|---|---|
  12. | `minExports` | 6 | from how many public functions on, look at a module's depth (DM-R01) |
  13. | `minDepth` | 8 | lines of code per public function; fewer means the module is shallow (DM-R01) |
  14. `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).