prettier-plugin-tailwindcss

A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.

MIT License

Downloads
8.9M
Stars
4.8K
Committers
30

Bot releases are visible (Hide)

prettier-plugin-tailwindcss - v0.5.14 Latest Release

Published by github-actions[bot] 6 months ago

Fixed

  • Fix detection of v4 projects on Windows (#265)
prettier-plugin-tailwindcss - v0.5.13

Published by github-actions[bot] 7 months ago

Added

  • Add support for @zackad/prettier-plugin-twig-melody (#255)
prettier-plugin-tailwindcss - v0.5.12

Published by github-actions[bot] 8 months ago

Added

  • Add support for prettier-plugin-sort-imports (#241)
  • Add support for Tailwind CSS v4.0 (#249)
prettier-plugin-tailwindcss - v0.5.11

Published by github-actions[bot] 10 months ago

Changed

  • Bumped bundled version of Tailwind CSS to v3.4.1 (#240)
prettier-plugin-tailwindcss - v0.5.10

Published by github-actions[bot] 10 months ago

Changed

  • Bumped bundled version of Tailwind CSS to v3.4 (#235)
prettier-plugin-tailwindcss - v0.5.9

Published by github-actions[bot] 11 months ago

Fixed

  • Fixed location of embedded preflight CSS file (#231)
prettier-plugin-tailwindcss - v0.5.8

Published by github-actions[bot] 11 months ago

Added

  • Re-enable support for prettier-plugin-marko (#229)
prettier-plugin-tailwindcss - v0.5.7

Published by github-actions[bot] 12 months ago

Fixed

  • Fix sorting inside dynamic custom attributes (#225)
prettier-plugin-tailwindcss - v0.5.6

Published by github-actions[bot] about 1 year ago

Fixed

  • Fix sorting inside {{ … }} expressions when using @shopify/prettier-plugin-liquid v1.3+ (#222)
prettier-plugin-tailwindcss - v0.5.5

Published by github-actions[bot] about 1 year ago

Fixed

  • Sort classes inside className in Astro (#215)
  • Support member access on function calls (#218)
prettier-plugin-tailwindcss - v0.5.4

Published by github-actions[bot] about 1 year ago

Fixed

  • Type tailwindFunctions and tailwindAttributes as optional (#206)
  • Don’t break @apply … #{'!important'} sorting in SCSS (#212)
prettier-plugin-tailwindcss - v0.5.3

Published by github-actions[bot] about 1 year ago

Fixed

  • Fix CJS __dirname interop on Windows (#204)
prettier-plugin-tailwindcss - v0.5.2

Published by github-actions[bot] about 1 year ago

Fixed

  • Fix intertop with bundled CJS dependencies (#199)
prettier-plugin-tailwindcss - v0.5.1

Published by github-actions[bot] about 1 year ago

Fixed

  • Updated Prettier peer dependency (#197)
prettier-plugin-tailwindcss - v0.5.0

Published by github-actions[bot] about 1 year ago

This plugin now requires Prettier v3+

Added

  • Sort expressions in Astro's class:list attribute (#192)
  • Re-enabled support for plugins when using Prettier v3+ (#195)
prettier-plugin-tailwindcss - v0.4.1

Published by github-actions[bot] over 1 year ago

Fixed

  • Don't move partial classes inside Twig attributes (#184)
prettier-plugin-tailwindcss - v0.4.0

Published by github-actions[bot] over 1 year ago

Added

  • Export types for Prettier config (#162)
  • Add Prettier v3 support (#179)

Fixed

  • Don't move partial classes inside Liquid script attributes (#164)
  • Do not split classes by non-ASCII whitespace (#166)
  • Match tagged template literals with tag expressions (#169)
prettier-plugin-tailwindcss - v0.3.0

Published by thecrypticace over 1 year ago

Added

  • Added support for prettier-plugin-marko (#151)
  • Allow sorting of custom attributes, functions, and tagged template literals (#155)

Fixed

  • Speed up formatting (#153)
  • Fix plugin compatibility when loaded with require (#159)
prettier-plugin-tailwindcss -

Published by thecrypticace over 1 year ago

Changed

  • Remove support for @prettier/plugin-php (#152)
prettier-plugin-tailwindcss - v0.2.7

Published by thecrypticace over 1 year ago

Fixed

  • Don't break liquid tags inside attributes when sorting classes (#143)
Package Rankings
Top 0.84% on Npmjs.org
Top 6.69% on Proxy.golang.org