Skip to content

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

JavaScript
4.0 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.20x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.00x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.15x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.10x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.00x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"all-caps-body\",\n    \"name\": \"All-caps body text\",\n    \"description\": \"Long passages in uppercase are hard to read. We recognize words by shape (ascenders and descenders), which all-caps removes. Reserve uppercase for short labels and headings. Only a run that reads as a sentence counts: 80 characters or more of an element's own text. Buttons, nav items, kickers and eyebrows set in caps are a convention and stay silent.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"text-transform: uppercase on 154 chars of body text\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 0.90x (need >=1.3)\"\n  },\n  {\n    \"antipattern\": \"tight-leading\",\n    \"name\": \"Tight line height\",\n    \"description\": \"Line height below 1.3x the font size makes multi-line text hard to read. Use 1.5 to 1.7 for body text so lines have room to breathe.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/tight-leading-lead-and-caps.html\",\n    \"line\": 0,\n    \"snippet\": \"line-height 1.20x (need >=1.3)\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}