Skip to content

fix(design): address Phase 1 code review findings#11305

Draft
jd wants to merge 1 commit intodevs/jd/worktree-design/exclude-root-md-files-remark-lint-rules--68e7062ffrom
devs/jd/worktree-design/address-phase-1-code-review-findings--2e3f0a21
Draft

fix(design): address Phase 1 code review findings#11305
jd wants to merge 1 commit intodevs/jd/worktree-design/exclude-root-md-files-remark-lint-rules--68e7062ffrom
devs/jd/worktree-design/address-phase-1-code-review-findings--2e3f0a21

Conversation

@jd
Copy link
Copy Markdown
Member

@jd jd commented Apr 29, 2026

  • Add explanatory comment in HeadCommon.astro for the import order
    (tokens → theme → typography → index) so future editors know it
    is load-bearing, not arbitrary.
  • Replace the blanket .md ESLint ignore with a scoped fix to the
    MDX block: place 'files' AFTER the mdxPlugin.flat spread to
    override its default '**/
    .{md,mdx}' glob and restrict remark
    linting to .mdx only. This avoids silently suppressing future
    *.md linting at the repo root.

Depends-On: #11304

@jd
Copy link
Copy Markdown
Member Author

jd commented Apr 29, 2026

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(design): add primitive token layer (tokens.css) #11299
2 feat(design): add typography utilities (typography.css) #11300
3 feat(design): load tokens.css and typography.css #11301
4 docs(design): add DESIGN.md design system documentation #11302
5 docs(design): link DESIGN.md from AGENTS.md and CLAUDE.md #11303
6 fix(lint): exclude root *.md files from remark-lint rules #11304
7 fix(design): address Phase 1 code review findings #11305 👈
8 refactor(design): map semantic tokens to new primitive layer #11307
9 fix(header): tighten navbar opacity for link readability #11308

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 29, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🔴 ⛓️ Depends-On Requirements

Waiting for:

This rule is failing.

Requirement based on the presence of Depends-On in the body of the pull request

🔴 👀 Review Requirements

Waiting for:

  • #approved-reviews-by >= 2
This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🔴 🔎 Reviews

Waiting for:

  • #review-requested = 0
This rule is failing.
  • #review-requested = 0
  • #changes-requested-reviews-by = 0
  • #review-threads-unresolved = 0

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

- Add explanatory comment in HeadCommon.astro for the import order
  (tokens → theme → typography → index) so future editors know it
  is load-bearing, not arbitrary.
- Replace the blanket *.md ESLint ignore with a scoped fix to the
  MDX block: place 'files' AFTER the mdxPlugin.flat spread to
  override its default '**/*.{md,mdx}' glob and restrict remark
  linting to .mdx only. This avoids silently suppressing future
  *.md linting at the repo root.

Change-Id: I2e3f0a21f25eeb35ef685fc1d70df960974ade4e
@jd jd force-pushed the devs/jd/worktree-design/exclude-root-md-files-remark-lint-rules--68e7062f branch from bf27f01 to e52a449 Compare April 29, 2026 13:21
@jd jd force-pushed the devs/jd/worktree-design/address-phase-1-code-review-findings--2e3f0a21 branch from f6e10ca to 36478ad Compare April 29, 2026 13:21
@jd
Copy link
Copy Markdown
Member Author

jd commented Apr 29, 2026

Revision history

# Type Changes Reason Date
1 initial f6e10ca 2026-04-29 13:21 UTC
2 rebase f6e10ca → 36478ad 2026-04-29 13:21 UTC

@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 29, 2026 13:22 Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant