From 504806efbb3194bcdb357c566f9153c4a68c6623 Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 26 Oct 2026 10:55:07 +0000 Subject: [PATCH] design-lint: sixth review cycle tests and docs test/design-lint-sixth-cycle.test.ts (18 tests; 13 red at 3f0c62582) pins the per-page work, the right-place findings, the rule judgements and the waiver and render cells the state matrix named. The emoji-tile cap is asserted exactly, the pixel-pass test says what it checks, the recorded slop page now names its generic hero copy. docs/design-lint.md: the real-path bound, the separator note, page and component claim scopes, hero-fold's measured half, two more items the lint does not cover, the heading-pattern exemption and the digit-range dash. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- docs/design-lint.md | 38 +++++++++++++++++++++------ test/design-lint-fifth-cycle.test.ts | 4 +-- test/design-lint-fourth-cycle.test.ts | 2 +- test/design-lint-recorded.test.ts | 5 ++-- test/design-lint.test.ts | 2 +- 5 files changed, 37 insertions(+), 14 deletions(-) diff --git a/docs/design-lint.md b/docs/design-lint.md index 825b3265a..6692d03bb 100644 --- a/docs/design-lint.md +++ b/docs/design-lint.md @@ -34,8 +34,10 @@ gstack-design-lint [--render] [--url ] [--scope pa page the lint could not read is not a pass; a linked stylesheet over the cap is only warned about, because the page that links it is still read. A relative stylesheet href may not climb out of the project (the nearest - directory holding a `package.json` or `.git`); outside any project it is - bounded only by the disk, and only `.css` files are read. + directory holding a `package.json` or `.git`), by its path and by its real + path, so a symlink inside the project that points outside it is not read + either; outside any project it is bounded only by the disk, and only `.css` + files are read. - Markup inside an HTML comment is dead for every rule, a commented-out `