page/norms/code/code-functional-core.md
Settings: Code: a pure core, effects at the edges
Thresholds of the checks of the code-functional-core 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 |
|---|---|---|
core | [] | paths of the pure core: folders or masks (FC-R01...R03); while empty, the checks stay silent |
effects | [] | your own regular expressions of effects, in addition to the built-in ones (FC-R01) |
rustMutRefs | false | count a &mut parameter in Rust as changing what is given (FC-R03) |
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.
The package Code: a pure core, effects at the edges puts this page at
/norms/code/code-functional-core.md.Source text