Skip to content

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

JavaScript
1.5 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"low-contrast\",\n    \"name\": \"Low contrast text\",\n    \"description\": \"Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/design-system.html\",\n    \"line\": 0,\n    \"snippet\": \"3.6:1 (need 4.5:1) — text #ff00aa on #ffffff\"\n  },\n  {\n    \"antipattern\": \"low-contrast\",\n    \"name\": \"Low contrast text\",\n    \"description\": \"Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/design-system.html\",\n    \"line\": 0,\n    \"snippet\": \"2.0:1 (need 4.5:1) — text #dfaaa1 on #ffffff\"\n  },\n  {\n    \"antipattern\": \"low-contrast\",\n    \"name\": \"Low contrast text\",\n    \"description\": \"Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/design-system.html\",\n    \"line\": 0,\n    \"snippet\": \"3.9:1 (need 4.5:1) — text #d55a42 on #ffffff\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}