Open tance77 opened 2 years ago
I'm also not sure what the test it('should remove not delete duplicate classes when flag is set')
is trying to test because the test description didn't make sense to me. If anyone could help with that test that would be greatly appreciated.
it('should remove not delete duplicate classes when flag is set')
I think I figured out what was actually meant by this test and renamed the double negative to make the sentence more understandable
This plugin does not seem to be maintained. Does anyone want to make a fork with this PR?
This plugin does not seem to be maintained. Does anyone want to make a fork with this PR?
@HelloAlexPan It might be best to just switch to this. It just came out. https://tailwindcss.com/blog/automatic-class-sorting-with-prettier
Looks like someone made an active fork here https://github.com/guidomodarelli/sortwind
As always the order of the class sorting is taken from the documentation on the tailwindcss website from top to bottom.
At a glance I noticed that tailwindcss 3.0 removed classes such as border opacity and placeholder color. Some of the classes just have been renamed. See the upgrade guide for a full list of changes.
That being said these new updated classes wont have some of the old classes 2.0 has. Which would result of the classes being pushed to the end of the class list. I'm not sure how the author would like to proceed.