chore(format): replace prettier with oxfmt#2427
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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.
58204b9 to
5007448
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Swap Prettier for oxfmt. Config migrated 1:1 via
oxfmt --migrate=prettierso 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.