Skip to content
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

Bring back Tailwind classnames sorting with Prettier #1167

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

david-crespo
Copy link
Collaborator

I linked someone the issue about why the Tailwind classnames sorting plugin couldn't be used at the same time as the import sorting plugin, and was thrilled to notice someone had posted a workaround that involved manually combining the two into a single plugin. I did it and it works! I missed this feature; I never know what order the classes should go in.

trivago/prettier-plugin-sort-imports#117 (comment)

@vercel
Copy link

vercel bot commented Sep 20, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
console-ui-storybook ✅ Ready (Inspect) Visit Preview Sep 20, 2022 at 2:27AM (UTC)

@david-crespo david-crespo merged commit cf3c716 into main Sep 20, 2022
@david-crespo david-crespo deleted the fix-tailwind-sort branch September 20, 2022 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant