prettier-plugin-tailwind icon indicating copy to clipboard operation
prettier-plugin-tailwind copied to clipboard

Sort tailwind classes in HTML with Prettier.

Results 31 prettier-plugin-tailwind issues
Sort by recently updated
recently updated
newest added

**Describe the bug** First of all, thanks for this wonderful plugin! I'm running into some problems when using this plugin with Jest. Inline snapshot testing (`toMatchInlineSnapshot`) in Jest uses Prettier...

bug

**Describe the bug** I was using [prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports) in my project. After installing `prettier-plugin-tailwind`, `prettier-plugin-organize-imports` stopped working. This is due to the fact that both plugins are redefining the `typescript` parser...

bug
wontfix

Hi there, Is there a simple way of handling twig files? I'm already using the [melody](https://github.com/trivago/prettier-plugin-twig-melody) plugin to handle twig formatting. Is it a configuration thing or do you need...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

I have a Nodejs Express project. I am using EJS as the template partial language. This does not seem to work. Even after install this plugin and having prettier work,...

bug

Sorting in postcss files with @apply directive and nested classes would be very nice

enhancement

I would like to be able to sort all the classes that are defined in a variable, this already works with autosuggest in the Visual Studio Code tailwind plugin. I...

enhancement

**Describe the bug** Getting the following error on running prettier after installing the plugin. ``` Error: Cannot find module 'D:\DEV\js-ts\codedamn\1-quiz-app\node_modules\tailwindcss\lib\util\processPlugins' Require stack: - D:\DEV\js-ts\codedamn\1-quiz-app\node_modules\tailwind-classes-sorter\lib\index.js - D:\DEV\js-ts\codedamn\1-quiz-app\node_modules\prettier-plugin-tailwind\lib\index.js - D:\DEV\js-ts\codedamn\1-quiz-app\node_modules\prettier-plugin-tailwind\prettier-plugin-tailwind.js - D:\DEV\js-ts\codedamn\1-quiz-app\node_modules\prettier\index.js...

bug

**Describe the bug** I would've expected all group-hover classes to be grouped together but they are not in this case. **To Reproduce** Run prettier on code below `` **Expected behavior**...

bug

In - `"z-50 z-10 container text-left md:text-center justify-center"` -> `'z-10' applies the same CSS property as 'z-50'`