Skip to content

chore(format): replace prettier with oxfmt#2427

Merged
joshuaellis merged 2 commits into
nextfrom
chore/oxfmt-migration
May 21, 2026
Merged

chore(format): replace prettier with oxfmt#2427
joshuaellis merged 2 commits into
nextfrom
chore/oxfmt-migration

Conversation

@joshuaellis
Copy link
Copy Markdown
Member

Swap Prettier for oxfmt. Config migrated 1:1 via oxfmt --migrate=prettier so style settings are identical. Single repo-wide reformat — minor wrapping differences in long generic / extends clauses plus markdown trailing-newline trims. Reformat SHA added to .git-blame-ignore-revs.

@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:39pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

⚠️ No Changeset found

Latest commit: 5007448

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/prettier-config-consolidation to next May 21, 2026 15:35
Swap Prettier 3.4.2 for oxfmt 0.51.0 across the workspace. Configuration
was migrated via `oxfmt --migrate=prettier` so the active settings
(arrowParens: avoid, printWidth 80, no-semi, single-quote, tab-width 2,
es5 trailing comma) carry over identically. Ignore patterns moved inline
to .oxfmtrc.json.

Reformat all `**/*.{ts,tsx,md}` files. Output difference vs Prettier is
small (~10 source files, mostly long generic / extends wrapping
decisions) plus markdown trailing-newline trims in .claude/skills/ and
specs/. The reformat is whitespace-only; tests, type-check, lint and
build all pass.

- Add oxfmt devDep; drop prettier and pretty-quick.
- Add .oxfmtrc.json; delete .prettierrc and .prettierignore.
- Root scripts: format / format:check (was prettier:write / :check).
- .husky/pre-commit: oxfmt --check (was prettier --check).
- .github/workflows/checks.yml: pnpm format:check (was prettier:check).
- CLAUDE.md: update Stack section and command table.
- .vscode/extensions.json: recommend the oxc extension for editor DX.
Append the prettier→oxfmt reformat commit so `git blame` skips it.
@joshuaellis joshuaellis force-pushed the chore/oxfmt-migration branch from 58204b9 to 5007448 Compare May 21, 2026 15:37
@joshuaellis joshuaellis merged commit 45ece28 into next May 21, 2026
3 of 4 checks passed
@joshuaellis joshuaellis deleted the chore/oxfmt-migration branch May 21, 2026 15:38
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