sveltejs / prettier-plugin-svelte

Format your svelte components using prettier.
MIT License
745 stars 97 forks source link

Support independent script tag order #337

Closed ghost closed 1 year ago

ghost commented 1 year ago

At the moment, <script> and <script context="module"> are grouped.

Would be nice if we can set a different order, something like script-markup-styles-module.

I can open a PR if this feature is considered.

dummdidumm commented 1 year ago

We don't want to add further customization to the order of things right now. You can set the order to none to opt out of reordering completely.