Skip to content

refactor: replace prettier with oxfmt#70

Merged
rhuanbarreto merged 8 commits into
mainfrom
claude/sweet-rhodes
Mar 17, 2026
Merged

refactor: replace prettier with oxfmt#70
rhuanbarreto merged 8 commits into
mainfrom
claude/sweet-rhodes

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Replaces Prettier with oxfmt to centralize lint + format tooling under the oxc ecosystem (oxlint + oxfmt)
  • Config migrated via oxfmt --migrate=prettier; ignore patterns moved from .prettierignore into .oxfmtrc.json
  • Updates VS Code settings/extensions, CLAUDE.md, and ARCH-006 ADR to reflect the change

Test plan

  • bun run validate passes (lint, typecheck, format, 257 tests, ADR check, build)
  • Verify VS Code format-on-save works with oxc.oxc-vscode extension
  • Confirm CI pipeline passes

🤖 Generated with Claude Code

Migrates the formatter from Prettier to oxfmt, consolidating lint and
format tooling under the oxc ecosystem. Config migrated via
`oxfmt --migrate=prettier`. Ignore patterns moved into `.oxfmtrc.json`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 17, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 888ce01
Status: ✅  Deploy successful!
Preview URL: https://90e49c96.archgate-cli.pages.dev
Branch Preview URL: https://claude-sweet-rhodes.archgate-cli.pages.dev

View logs

rhuanbarreto and others added 7 commits March 17, 2026 16:28
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enables sortImports, sortPackageJson.sortScripts, and
objectWrap: "collapse" in oxfmt config. Consolidates a test
assertion to stay within the max-lines lint limit after import
sorting added a group separator line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
MCP is no longer used in this project.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs oxfmt --write on every file after Write/Edit tool calls,
ensuring all AI-authored code is auto-formatted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds pre-approved tool permissions for common project commands
and disables Co-Authored-By attribution on commits and PRs.
oxfmt respects .gitignore by default. Only bun.lock and CHANGELOG.md
need explicit ignore patterns since they are tracked but should not
be formatted.
Resolves conflicts: takes --deny-warnings from main's oxlint change,
new platform module imports, and our oxfmt formatter migration.
@rhuanbarreto rhuanbarreto merged commit 4d06c24 into main Mar 17, 2026
8 checks passed
@rhuanbarreto rhuanbarreto deleted the claude/sweet-rhodes branch March 17, 2026 16:18
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