Skip to content

The design language that makes your AI harness better at design.

JavaScript
2.9 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"hero-eyebrow-chip\",\n    \"name\": \"Hero eyebrow / pill chip\",\n    \"description\": \"A tiny uppercase letter-spaced label sitting immediately above an oversized hero headline — or the same shape rendered as a pill chip — is now the default AI SaaS hero. Drop the eyebrow, integrate the kicker into the headline, or run it as a navigation breadcrumb instead.\",\n    \"severity\": \"warning\",\n    \"category\": \"slop\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/label-collectors.html\",\n    \"line\": 0,\n    \"snippet\": \"eyebrow chip (tracked-caps) \\\"Utah-based commercial insurance agency\\\" above h1 \\\"Commercial insurance that moves\\\"\"\n  },\n  {\n    \"antipattern\": \"cramped-padding\",\n    \"name\": \"Cramped padding\",\n    \"description\": \"Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/label-collectors.html\",\n    \"line\": 0,\n    \"snippet\": \"<div> \\\"chip\\\": children flush against border on top/bottom (no inset)\"\n  },\n  {\n    \"antipattern\": \"cramped-padding\",\n    \"name\": \"Cramped padding\",\n    \"description\": \"Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/label-collectors.html\",\n    \"line\": 0,\n    \"snippet\": \"<div> \\\"kicker-chip\\\": children flush against bg on top/bottom (no inset)\"\n  },\n  {\n    \"antipattern\": \"skipped-heading\",\n    \"name\": \"Skipped heading level\",\n    \"description\": \"Heading levels should not skip (e.g. h1 then h3 with no h2). Screen readers use heading hierarchy for navigation. Skipping levels breaks the document outline.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/label-collectors.html\",\n    \"line\": 0,\n    \"snippet\": \"<h1> \\\"Two labels in one wrapper\\\" followed by <h3> \\\"A card that numbers itself\\\" (missing h2)\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}