oxc/tasks/prettier_conformance
Yuji Sugiura 8e3eed7562
refactor(prettier): Update tasks/prettier to correctly handle snapshots (#8337)
I refactored the code in `tasks/prettier_conformance` primarily to make
the output more readable when using `--filter`.

But I also discovered that our previous implementation did not correctly
handle Prettier's behavior of adding a blank line at the EOF.

In addition, I resolved a problem where test specs that used patterns
like `runFormatTest(_, parsers)` were unable to locate the correct
snapshot output.

As a result, compatibility has also improved slightly. 😉

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-08 17:10:30 +08:00
..
snapshots refactor(prettier): Update tasks/prettier to correctly handle snapshots (#8337) 2025-01-08 17:10:30 +08:00
src refactor(prettier): Update tasks/prettier to correctly handle snapshots (#8337) 2025-01-08 17:10:30 +08:00
Cargo.toml refactor(prettier): Update tasks/prettier to correctly handle snapshots (#8337) 2025-01-08 17:10:30 +08:00
README.md test(prettier): move prettier conformance snapshots into separate directory (#5921) 2024-09-20 11:34:13 +00:00

Prettier Conformance

Run

just watch "run -p oxc_prettier_conformance"

Test results

Test case results are listed in: