nebulab / erb-formatter

Format ERB files with speed and precision
MIT License
151 stars 25 forks source link

Add sorting for TailwindCSS classes #26

Closed elia closed 9 months ago

elia commented 1 year ago

See https://tailwindcss.com/blog/automatic-class-sorting-with-prettier#how-classes-are-sorted and https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/src/sorting.js.

danieldocki commented 1 year ago

would be wonderful

elia commented 9 months ago

Fixed by https://github.com/nebulab/erb-formatter/pull/39