54nd10 / Tailwind-reorder

The Unlicense
9 stars 5 forks source link

Separate REGEX for `className` in addition to `class` #2

Open Hazmatyre opened 3 years ago

Hazmatyre commented 3 years ago

https://github.com/54nd10/Tailwind-reorder/blob/main/tailwind-reorder.py

It would benefit me to have separate REGEX for className in addition to class. It has been handy to use in JSX but I've had to rename back and forth between the two.

johnbchron commented 1 year ago

I made a pull request for this: #8 . In the meantime you can use my fork, where I've already made this change: https://github.com/johnbchron/Tailwind-reorder-jsx/