ShtukbaseStandard
page/norms/code.md

Code norms: what to read

Page fields (4)
roots.
languagests, py, rs
testsfalse
excludevendor, third_party, generated, fixtures, **/*.min.js, **/*.d.ts

Shared settings for the code-norm packages (code-refactoring, code-deep-modules, code-pragmatic, code-unix, code-functional-core). Their checks read the project's code according to this page.

KeyDefaultWhat it means
roots[.]folders with code, from the project root
languages[ts, py, rs]languages: ts is TypeScript and JavaScript, py is Python, rs is Rust
testsfalsewhether to read test files (test/, tests/, *.test.ts, test_*.py, *_tests.rs); #[cfg(test)] modules in Rust are never read
excludesee the headerpath masks that no one reads: ** is any folders, * is part of a name, a bare name is a folder or file with that name anywhere

Hidden folders and node_modules, target, dist, build, __pycache__, .venv, venv are always skipped.

Each package's thresholds are on its page in /norms/code/. One place in the code is released by the comment code-allow: <check name> on its line or the line above.

The package Code: shared library puts this page at /norms/code.md.Source text