CI Perf Lint

prefer-oxfmt-over-prettier

What it flags

Flags repositories that appear to use Prettier without visible Oxfmt adoption.

The finding is repository-wide: the evidence comes from repository formatting config and package metadata, not from a workflow-local command.

Why it matters

Oxfmt is positioned by OXC as a high-performance, Prettier-compatible formatter for the JavaScript ecosystem, so a direct CI formatting path is often a good migration candidate.

The practical reason this rule recommends Oxfmt is not only raw speed. For simple Prettier paths, Oxfmt is intended to fit existing Prettier-style format / format:check workflows with minimal script, CI, and hook changes. That drop-in-style migration path is especially valuable when the repository has a straightforward Prettier setup and no required Prettier plugins.

The main reference for acting on this finding should be OXC’s official guide:

That guide is more useful than a generic “swap prettier for oxfmt” suggestion because it covers:

This rule is intentionally split by severity:

Current heuristic

The rule looks for:

When to ignore it

Ignore this finding when:

Suggested verification

Sources