volarjs / services

MIT License
134 stars 29 forks source link

feat(prettier): Add a few bells and whistle to the Prettier plugin #35

Closed Princesseuh closed 1 year ago

Princesseuh commented 1 year ago

The Prettier plugin was a bit limited in regards to things it could do, for instance there was not way to enforce options, which unfortunately prevent Astro (and probably Svelte and other languages who needs Prettier to format) from using the Prettier plugin.

This PR adds two properties:

Adds a feature:

Fixes an issue:

johnsoncodehk commented 1 year ago

Thanks! (I haven't really tested it, but it looks like the change isn't disruptive to users.)