Skip to content

chore(format): consolidate prettier configs#2426

Merged
joshuaellis merged 3 commits into
nextfrom
chore/prettier-config-consolidation
May 21, 2026
Merged

chore(format): consolidate prettier configs#2426
joshuaellis merged 3 commits into
nextfrom
chore/prettier-config-consolidation

Conversation

@joshuaellis
Copy link
Copy Markdown
Member

Delete 29 conflicting sandbox .prettierrc files plus the two __tests__/ overrides, then reformat everything affected to the root .prettierrc. Sets the stage for the oxfmt swap so that PR contains only the tool diff, not also a config-cleanup diff. Reformat SHA added to .git-blame-ignore-revs.

Delete 29 sandbox .prettierrc files (demo/src/sandboxes/*) and the two
__tests__/.prettierrc overrides (semi: true) — the only configs left
diverging from the root style. The sandbox per-folder configs conflicted
with each other (printWidth 80 vs 120 vs 180, mixed quote styles) and
made the formatted state of the repo depend on 31 mini-configs. Sandbox
CodeSandbox parity is deliberately given up in exchange for one
consistent style across the workspace.

Reformat all affected files to the root .prettierrc. No source semantics
change — only whitespace, quote style, line wrapping. The two __tests__
files are .d.ts-style type tests; tsc --noEmit and the unit suite both
pass after reformat.
Add the prettier reformat SHA so `git blame` skips the mechanical
whitespace-only change and points at the meaningful previous commit
instead. Contributors opt in locally with:

  git config blame.ignoreRevsFile .git-blame-ignore-revs

GitHub honours this file automatically in its blame UI.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-spring Ready Ready Preview May 21, 2026 3:29pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

⚠️ No Changeset found

Latest commit: d6c2a34

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

Base automatically changed from chore/oxlint-migration to next May 21, 2026 15:35
@joshuaellis joshuaellis merged commit 5e92d00 into next May 21, 2026
15 checks passed
@joshuaellis joshuaellis deleted the chore/prettier-config-consolidation branch May 21, 2026 15:35
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.

1 participant