Skip to content

Format with oxfmt instead of prettier - #8

Merged
NullVoxPopuli merged 1 commit into
NullVoxPopuli:mainfrom
NullVoxPopuli-ai-agent:oxfmt
Aug 26, 2026
Merged

Format with oxfmt instead of prettier#8
NullVoxPopuli merged 1 commit into
NullVoxPopuli:mainfrom
NullVoxPopuli-ai-agent:oxfmt

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown
Contributor

Replaces prettier with oxfmt (0.65.0).

  • .oxfmtrc.json comes from oxfmt --migrate=prettier (printWidth: 100, singleQuote: true) plus ignorePatterns for **/*.md, **/*.yml, **/*.yaml, and the existing examples/ and test-packages/ exclusions. fixtures/*/transform.md and pnpm-lock.yaml are covered by the markdown/YAML globs.
  • Scripts: format runs oxfmt, lint:format runs oxfmt --check and replaces lint:prettier in CI.
  • .prettierrc.json and .prettierignore are removed; prettier is removed from devDependencies.

Running oxfmt over the tree changed nothing: the existing prettier-formatted code already matches oxfmt's output, so this PR is config-only.

Note for #5 (if it merges after this): it adds diagnostics-tests/declaration/expected/ to .prettierignore; that entry needs to move to ignorePatterns here.

🤖 Generated with Claude Code

.oxfmtrc.json is migrated from the prettier config (oxfmt --migrate)
and ignores markdown and YAML files. Running oxfmt over the tree
produced no changes, so the two formatters agree on the existing code.
Scripts: format runs oxfmt, lint:format runs oxfmt --check (replaces
lint:prettier, including in CI).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@NullVoxPopuli
NullVoxPopuli merged commit fae4442 into NullVoxPopuli:main Aug 26, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 26, 2026
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