Skip to content

chore: migrate from prettier to oxfmt#283

Merged
limonte merged 3 commits into
mainfrom
copilot/migrate-from-prettier-to-oxfmt
Mar 15, 2026
Merged

chore: migrate from prettier to oxfmt#283
limonte merged 3 commits into
mainfrom
copilot/migrate-from-prettier-to-oxfmt

Conversation

Copilot AI commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

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 $schema for editor autocompletion
  • .prettierignore — removed; patterns moved to ignorePatterns in .oxfmtrc.json
  • package.json
    • prettieroxfmt in devDependencies
    • lint: prettier . --checkoxfmt --check
    • lint-fix: prettier . --writeoxfmt
    • Removed prettier config section

Warning

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
    • Triggering command: /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
    • Triggering command: /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
    • Triggering command: /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.

Co-authored-by: limonte <6059356+limonte@users.noreply.github.com>
@limonte limonte marked this pull request as ready for review March 15, 2026 13:43
Copilot AI changed the title [WIP] Migrate from prettier to oxfmt chore: migrate from prettier to oxfmt Mar 15, 2026
Copilot AI requested a review from limonte March 15, 2026 13:44
@limonte limonte merged commit 7fadccf into main Mar 15, 2026
1 check passed
@limonte limonte deleted the copilot/migrate-from-prettier-to-oxfmt branch March 15, 2026 13:51
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 5.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants