Skip to content

chore: formatting cleanup - #1263

Merged
XOP merged 1 commit into
mainfrom
chore/prettier-cleanup
Nov 10, 2026
Merged

XOP merged 1 commit into
mainfrom
chore/prettier-cleanup

Conversation

@XOP

@XOP XOP commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Motivation: consistent and predictable formatting.

  • .prettierrc: "parser": "typescript" removed; it broke CSS and JSON.
  • format = prettier --check ., format:fix = prettier --write .; .scripts/bash/format and prettify deleted; generate:tokens ends with prettier --write src/theme/tokens.
  • .prettierignore is the only skip list: generated tokens, .changeset/pre.json, eslint-suppressions.json, *.md, *.mdx. 48 files reformatted, pure Prettier output; .editorconfig, tokens-guard.yml, AGENTS.md updated.

Links and tickets

Follows the steps of #1262


Note

Low Risk
Tooling and whitespace-only edits; no runtime, auth, or public component API changes.

Overview
Standardizes how formatting runs repo-wide: Prettier no longer forces the TypeScript parser (that was breaking CSS/JSON), and yarn format / yarn format:fix now invoke prettier --check . and prettier --write . instead of the deleted .scripts/bash/format wrapper; the redundant prettify script is removed, and generate:tokens finishes with prettier --write src/theme/tokens.

.prettierignore is expanded to document and skip generated token sources, tool-owned JSON, and all *.md / *.mdx (MDX v3 vs Prettier’s parser). .editorconfig drops overlapping TS/IDE trailing-comma rules. tokens-guard.yml watches .prettierignore instead of the old format script. AGENTS.md documents the new format commands.

The bulk of the diff is Prettier-only output across Storybook config/HTML, scripts, Playwright specs, component CSS modules, and YAML templates—no intended behavior or API changes.

Reviewed by Cursor Bugbot for commit 26526e3. Bugbot is set up for automated code reviews on this repo. Configure here.

@XOP XOP added the infra CI, workflows, scripts label Oct 9, 2026
@changeset-bot

changeset-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 26526e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@XOP
XOP force-pushed the chore/prettier-cleanup branch from 6d67cf0 to 26526e3 Compare November 2, 2026 10:38
@workflow-authentication-public

Copy link
Copy Markdown
Contributor

Storybook Preview Deployed

✅ Preview URL: https://click-fdzbpeki8-clickhouse.vercel.app

Built from commit: b934ed3f4e04882fa1c58f239b0b7688a372d02d

@workflow-authentication-public

Copy link
Copy Markdown
Contributor

Chromatic Storybook

Check Status Link
Storybook ✅ 670 stories published Open Storybook
UI Tests ✅ 670 tests unchanged Open build

Built from commit: 26526e3cdfbe7d62e6c285ab48ec4a7f1f8d0fed · Chromatic run

Statuses as of the end of the run. The build link shows the live review state.

@lidiagc
lidiagc self-requested a review November 9, 2026 17:59
@XOP
XOP merged commit 273db19 into main Nov 10, 2026
12 checks passed
@XOP
XOP deleted the chore/prettier-cleanup branch November 10, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra CI, workflows, scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants