Documentation
¶
Overview ¶
Package marker implements the single shared grammar for the `formwork:allow <rule-id> <reason>` exemption marker (spec §5). The engine (suppression) and `formwork lint` (reasonless-marker hygiene) both consume Classify so the two consumers can never disagree about what counts as a valid marker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind int
Kind classifies a formwork:allow marker occurrence for one rule id on one line.
const ( // None: no formwork:allow marker naming this rule id is present on the // line at all. None Kind = iota // Reasonless: a marker naming this rule id is present, but nothing that // counts as a real reason follows it. Reasonless // Reasoned: a marker naming this rule id is present with a valid // reason — the exemption is honored. Reasoned )