Skip to content

Proposed 1.2.2#245

Open
bradmering wants to merge 19 commits intomainfrom
release/1.2.2
Open

Proposed 1.2.2#245
bradmering wants to merge 19 commits intomainfrom
release/1.2.2

Conversation

@bradmering
Copy link
Copy Markdown
Contributor

Changes

  • Resolved no-else-return, no-unused-vars, camelcase, prefer-const,
    eqeqeq, no-nested-ternary, no-lonely-if, and no-use-before-define
    across static pages (catch-all docs, assets, foundations, home, system, and
    design-token foundation pages).
  • Removed or refactored unused getStaticProps context parameters, props, and
    locals; normalized naming (e.g. font machine keys); simplified icon detail
    routing query handling.
  • Reordered helper components (token color/effect/typography tables, component
    token previews) ahead of page components where required for declaration order.
  • Converted getComponentPreviews to a hoisted function declaration and
    refactored the component token table for clearer control flow.

We were seeing problems with people using stricter es-lints than we were, causing the build to fail. These changes seem simple enough and reduce the risk of that, when running handoff in a project with other code.

@bradmering bradmering requested a review from DomagojGojak April 10, 2026 01:02
DomagojGojak
DomagojGojak previously approved these changes Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants