Open Hazmatyre opened 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.
className
class
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/
https://github.com/54nd10/Tailwind-reorder/blob/main/tailwind-reorder.py
It would benefit me to have separate REGEX for
className
in addition toclass
. It has been handy to use in JSX but I've had to rename back and forth between the two.