refactor: replace prettier with oxfmt#70
Merged
Conversation
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>
Deploying archgate-cli with
|
| 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 |
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.
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.
Summary
oxfmt --migrate=prettier; ignore patterns moved from.prettierignoreinto.oxfmtrc.jsonCLAUDE.md, andARCH-006ADR to reflect the changeTest plan
bun run validatepasses (lint, typecheck, format, 257 tests, ADR check, build)oxc.oxc-vscodeextension🤖 Generated with Claude Code