Expand description
Configuration presets used by slopguard init.
A preset renders a complete slopguard.toml. The rule id lists are derived
from the builtin ruleset at render time, so a preset can never name a rule
that no longer ships.
Structs§
- Preset
Iter - An iterator over the variants of Preset
Enums§
- Preset
- A named starting configuration for a project.
Functions§
- parse_
preset - Parse a preset name (the
--preset <name>value), returning an error message that lists the valid names. Keeps the name list on the core enum so the CLI never maintains its own copy. - presets_
help - The preset listing printed by
slopguard init --presetwith no value.