Skip to content

Switch formatter from Prettier to oxfmt - #337

Merged
keichi merged 2 commits into
masterfrom
switch-to-oxfmt
Nov 11, 2026
Merged

keichi merged 2 commits into
masterfrom
switch-to-oxfmt

Conversation

@keichi

@keichi keichi commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Replaces Prettier with oxfmt.

  • npm run format and npm run format:fix now use oxfmt. The CI step (npm run format) is unchanged.
  • .oxfmtrc.json sets printWidth: 80 to match Prettier's default (oxfmt defaults to 100). With this setting, the existing code is already formatted the same way, so no source files change.
  • Existing // prettier-ignore comments are still honored.

printWidth is set to 80 to match Prettier's default, so existing
code is unchanged.
# Conflicts:
#	package-lock.json
#	package.json
@keichi
keichi merged commit f83e362 into master Nov 11, 2026
6 checks passed
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