concrete/lint/parse-error
A workspace module cannot be parsed, so no lint rule could grade it.
A workspace module cannot be parsed, so no lint rule could grade it.
Graded by the lint stage of concrete check, in the lint venue. A violation reports this id and the file it failed at — see every rule and concrete check.
Reason
The lint stage runs the framework's ESLint preset over every module in the workspace, and a module the parser cannot read is graded by no rule at all. That silence is the danger: an unparseable file looks exactly like a clean one to every authoring rule, so the workspace reports the parse failure itself, under its own id, rather than letting the file pass unread.
Fix
Open the file at the line the report names and fix the syntax error — a missing brace or
parenthesis, usually a few lines above what the parser points at. Re-run concrete check:
the module's real rules cannot be graded until it parses.
Before and after
// This half does not parse, which is the violation.
// @noErrors
import { Section, section, Slot, text } from "@homepages/concrete";
export const Hero = section(
{ key: "hero", label: "Hero", slots: { headline: text.medium({ label: "Headline" }) } },
({ slot }) => (
<Section>
<Slot.Text slot={slot.headline} as="h1" />
),
);import { Section, section, Slot, text } from "@homepages/concrete";
export const Hero = section(
{ key: "hero", label: "Hero", slots: { headline: text.medium({ label: "Headline" }) } },
({ slot }) => (
<Section>
<Slot.Text slot={slot.headline} as="h1" />
</Section>
),
);