-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Don't ignore removeDuplicates option when using officialSorting #127
Labels
enhancement
New feature or request
Comments
mpsijm
added a commit
to mpsijm/eslint-plugin-tailwindcss
that referenced
this issue
Jun 7, 2022
…ing officialSorting The check for removing duplicates is completely separate from the sorting, even when {officialSorting: false}. Therefore, it shouldn't harm to also execute this check when {officialSorting: true}.
mpsijm
added a commit
to mpsijm/eslint-plugin-tailwindcss
that referenced
this issue
Jun 7, 2022
…ing officialSorting The check for removing duplicates is completely separate from the sorting, even when {officialSorting: false}. Therefore, it shouldn't harm to also execute this check when {officialSorting: true}.
12 tasks
mpsijm
added a commit
to mpsijm/eslint-plugin-tailwindcss
that referenced
this issue
Jun 13, 2022
…ing officialSorting The check for removing duplicates is completely separate from the sorting, even when {officialSorting: false}. Therefore, it shouldn't harm to also execute this check when {officialSorting: true}.
WIP on #132 |
13 tasks
I just published a beta version with the fixes listed on #132
Please give it a try and provide feedback and or issues 👍 |
francoismassart
added
feedback needed
ready for next release
and removed
work in progress
feedback needed
labels
Jun 27, 2022
Should be fixed in the latest release Make sure to:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
Is your feature request related to a problem? Please describe.
I like both the option
removeDuplicates
andofficialSorting
but with the latest release it's documented thatremoveDuplicates
is ignored when usingofficialSorting
. As I think it's better to use the tailwind official sort I disabled theremoveDuplicates
rules.Describe the solution you'd like
I'd like to either have an error when I have duplicated classes or get the duplicates automatically removed like before.
Describe alternatives you've considered
It's not a huge issue, I can live with the duplicated classes but if you know a way.
Thanks for considering this feature request.
The text was updated successfully, but these errors were encountered: