You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tentative PR #2157 adding support but I think there we also need to other plugins to update. In particular we are using sort-import plugin in our own repo and would need to be updated.
Updating to 3.0 is a decent breaking change and not sure we can keep back compat with prettier 2.0 which is also something to take into account.
Ok so actually those concern above are not a problem, everything seems to work fine. Plugin is backward compatible with prettier 2.0(At least for now)
The main issue is the breaking change to the prettier api which cascade into our api of making format async. This ends up causing a breaking change in the emitter framework as well.
Prettier 3.0.0 was released yesterday, and throws errors when attempting to format any TypeSpec files.
Looking at a minimised snippet from one of the samples:
And a simple Prettier config:
The plugin works with 2.8.7:
But throws errors with 3.0.0:
The text was updated successfully, but these errors were encountered: