Skip to content

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

JavaScript
6.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/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"1.2:1 (need 4.5:1) — text #000000 on #1a1a1a\"\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/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"4.1:1 (need 4.5:1) — text #000000 on #cc3333\"\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/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"1.3:1 (need 4.5:1) — text #000000 on #222222\"\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/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"1.7:1 (need 4.5:1) — text #000000 on #333333\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: polygon() with 18 vertices approximating an organic contour\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: polygon() with 21 vertices approximating an organic contour\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: path() with 6 curve segments\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: path() with 3 curve segments\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: polygon() with 14 vertices approximating an organic contour\"\n  },\n  {\n    \"antipattern\": \"organic-clip-path\",\n    \"name\": \"Organic contour drawn as clip-path\",\n    \"description\": \"A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/organic-clip-path.html\",\n    \"line\": 0,\n    \"snippet\": \"clip-path: polygon() with 21 vertices approximating an organic contour\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}