package page→ /norms/code/code-functional-core.md
pages/norms/code/code-functional-core.md
20 lines, 949 B. As a page.
- ---
- type: Page
- title: 'Settings: Code: a pure core, effects at the edges'
- core: []
- effects: []
- rustMutRefs: false
- exclude: []
- ---
- # 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](/norms/code.md).