ungrouped-domain-utils
two or more utils about the same subject left loose in `utils/` instead of grouped in a folder named for it
Deterministic checkadvisory by defaultbasecode
The argument
Domain Folders
A stateless function starts in utils/. When a second related function with a shared domain appears, both graduate to a named domain folder (sibling of utils/) — formatting/, validation/, parsing/. One function alone never gets a domain folder; stateful code stays in services/.
The proof
fail
export const formatCurrency = () => 2;
pass
export const formatDate = () => 1;
Turn it down
Both lines go in your lightsout.config.json.
"standards-checks": { "ungrouped-domain-utils": "advisory" }"standards-checks": { "ungrouped-domain-utils": "off" }