A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.
MIT License
Bot releases are hidden (Show)
Published by thecrypticace over 1 year ago
@prettier/plugin-php
(#152)Published by reinink almost 2 years ago
prettier-plugin-svelte
(#101)As of v0.2.0 we no longer bundle prettier-plugin-svelte
as part of this plugin, so to bring back formatting for Svelte code you need to explicitly install that dependency yourself:
npm install -D prettier-plugin-svelte
Next, disable autoloading by setting pluginSearchDirs
to false
in your Prettier configuration, and add any plugins you're using to your plugins
list, making sure prettier-plugin-tailwindcss
is last in the list:
// .prettierrc
{
// ..
"plugins": [
"prettier-plugin-svelte",
"prettier-plugin-tailwindcss" // Must come last
],
"pluginSearchDirs": false
}
Published by bradlc over 2 years ago
let:class
attributes (#24)