Closed pascalduez closed 6 months ago
Plus one on this one. Having to rewrite everything using callbacks that return the registration. For now I think the path of least resistance is to downgrade prettier for us.
One workaround is to use the @prettier/sync
package. https://github.com/prettier/prettier-synchronized
landed in v4 :)
Hi,
as far as I can see, custom formatters have to be synchronous. This prevent the use of third parties that only ship asynchronous APIs in formatters.
I hit this while upgrading from Prettier 2 to 3 used to process the result of a custom formatter.
This is not currently possible.
Would that be something to consider?