chore: migrate from prettier to oxfmt#283
Merged
Merged
Conversation
Co-authored-by: limonte <6059356+limonte@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate from prettier to oxfmt
chore: migrate from prettier to oxfmt
Mar 15, 2026
|
🎉 This PR is included in version 5.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Replace Prettier with oxfmt for code formatting, matching the migration done in sweetalert2/sweetalert2@27f532e.
Migrated via
npx oxfmt@latest --migrate prettier..oxfmtrc.json— new config with all previous prettier settings (printWidth: 120,semi: false,singleQuote: true, etc.) plus$schemafor editor autocompletion.prettierignore— removed; patterns moved toignorePatternsin.oxfmtrc.jsonpackage.jsonprettier→oxfmtin devDependencieslint:prettier . --check→oxfmt --checklint-fix:prettier . --write→oxfmtprettierconfig sectionWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
add-skill.vercel.sh/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/.npm/_npx/ac0ed6aa23b37c1e/node_modules/.bin/skills add REDACTED --skill migrate-oxfmt(dns block)download.cypress.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node node dist/index.js --exec install(dns block)https://api.github.com/repos/oxc-project/oxc/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/.npm/_npx/ac0ed6aa23b37c1e/node_modules/.bin/skills add REDACTED --skill migrate-oxfmt(http block)If you need me to access, download, or install something from one of these locations, you can either:
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.