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
The tailwind prettier plugin embeds the svelte prettier plugin and mainly does class re-ordering within strings. I've done a dry run locally and the changes are not that drastic at all (mainly affecting doc pages) and I think there is benefit to having things like all base classes appearing in the string before breakpoint variants of the classes and uniformity across the code base.
Instead of pushing a PR to see the changes, you can just do:
npm remove prettier-plugin-svelte
npm i -D prettier prettier-plugin-tailwindcss
npm run format
And preview the changes in the Source Control panel.
The text was updated successfully, but these errors were encountered:
Not sure how the plugin handlings custom versus TW classes in a set, but the one that would give us the most trouble would be the first one, the description class. This is what identifies each part of a component. (ex: parent and child descriptions below)
The tailwind prettier plugin embeds the svelte prettier plugin and mainly does class re-ordering within strings. I've done a dry run locally and the changes are not that drastic at all (mainly affecting doc pages) and I think there is benefit to having things like all base classes appearing in the string before breakpoint variants of the classes and uniformity across the code base.
Instead of pushing a PR to see the changes, you can just do:
And preview the changes in the Source Control panel.
The text was updated successfully, but these errors were encountered: