Skip to content

Conversation

@riderx
Copy link

@riderx riderx commented Dec 19, 2025

We got few people wanting to do PR in our plugin and cannot understand why lint failed; we found out it came from prettier not reporting errors properly.
I tried to find a way to report better, but it's a long due problem in Prettier. You can see here:
prettier/prettier#6885
and in
prettier/prettier#12598

To improve the situation, I made
https://github.com/Cap-go/prettier-pretty-check
a simple tool calling prettier with --list-different option instead of ``-check` and use diff to make the error human readable.
Before:
CleanShot 2025-12-19 at 12 26 48
after:
CleanShot 2025-12-19 at 16 27 37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant