Skip to content

formatter: Track remaining Prettier conformance failures #18717

@Dunqing

Description

@Dunqing

Tracking issue for the remaining Prettier conformance test failures (tested against Prettier 3.8.1).

Every failure listed below has a corresponding issue filed in the Prettier repository. These are cases where Prettier produces incorrect output, and oxfmt intentionally produces the correct output. The tests will pass once Prettier releases the fixes.

Status

Language Passed Total Pass Rate Compatibility
JavaScript 746 753 99.07% 100%
TypeScript 590 601 98.17% 100%

Compatibility 100% — all remaining failures are known Prettier issues, not oxfmt issues. These are rare edge cases, mostly related to comment placement.

JavaScript (7 failing)

TypeScript (11 failing)

Metadata

Metadata

Assignees

Labels

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions