Automatically clean up whitespace and duplicate class names

Tailwind CSS

A new version of the prettier-plugin-tailwindcss has been released which improves efficiency by automatically removing unnecessary whitespace and duplicate classes when sorting. This beneficial feature helps in handling additional whitespace, something that often happens when copying or deleting a class name from the middle of a list, which previously needed to be cleaned up manually. Alongside this, the Prettier plugin also now has the ability to automatically remove duplicate classes, a feature already present in its VS Code extension. The latest version of the plugin is now available and feedback on any issues can be provided on GitHub.

read full post