create-capacitor-plugin icon indicating copy to clipboard operation
create-capacitor-plugin copied to clipboard

Pretty prettier error

Open riderx opened this issue 2 months ago • 0 comments

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: https://github.com/prettier/prettier/issues/6885 and in https://github.com/prettier/prettier/pull/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

riderx avatar Dec 19 '25 16:12 riderx