solidjs / templates

Vite + solid templates
446 stars 117 forks source link

add prettier to js-tailwindcss and ts-tailwindcss #151

Open anOatFlake opened 1 month ago

anOatFlake commented 1 month ago

The js-tailwindcss and ts-tailwindcss currently don't include prettier with the tailwindcss plugin. Since tailwindcss has a recommended class order which defines how the styles are applied without accidental overwriting each other, the prettier-plugin-tailwindcss is able to prevent this with automatic class sorting.

I am willing to add this feature myself, is there anything i would need to know before submitting a pr (testing, commit conventions, etc)? The contributing guidelines don't define any concrete procedures.