Skip to content

chore: migrate from prettier to oxfmt - #625

Merged
michaelfaith merged 4 commits into
mainfrom
chore/oxfmt
Nov 9, 2026
Merged

michaelfaith merged 4 commits into
mainfrom
chore/oxfmt

Conversation

@michaelfaith

Copy link
Copy Markdown
Contributor

Fixes #621

Also adds recommended vscode extensions and set the vscode formatter to oxfmt.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

@michaelfaith
michaelfaith added this pull request to stack #626 November 9, 2026 00:30
@michaelfaith
michaelfaith marked this pull request as ready for review November 9, 2026 00:51
@michaelfaith
michaelfaith requested a review from a team November 9, 2026 00:51
Base automatically changed from chore/pre-commit to main November 9, 2026 00:51
@@ -1,3 +1,3 @@
{
"useTabs": true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we move. (at some point) the cli to use oxfmt as well? i didn't think about this piece. for now let's leave it i'm just curious about thoughts here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main challenge, currently, is that oxfmt hasn't exposed a way to find its own config, similar to prettier's. We'll need to wait on that, before we'll be able to move to the JS API. Tracking issue: oxc-project/oxc#19922

Comment thread DEVELOPMENT.md Resolved

@lwasser lwasser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelfaith this is good to merge. i just suggested one typo fix that caught my eye and then a small question about prettier in the CLI. But please merge if you agree with the typo nit!

Co-authored-by: Leah Wasser <leah@pyopensci.org>
@michaelfaith
michaelfaith merged commit f4e7d2e into main Nov 9, 2026
6 checks passed
@michaelfaith
michaelfaith deleted the chore/oxfmt branch November 9, 2026 19:25
@a-c-slater a-c-slater Bot mentioned this pull request Nov 11, 2026
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.

🛠 Tooling: migrate from prettier to oxfmt

2 participants