Skip to content

A Prettier plugin for Tailwind CSS that automatically sorts classes based on RNG.

License

Notifications You must be signed in to change notification settings

lazy-sock/prettier-plugin-tailwindcss-anarchy

 
 

Repository files navigation

Website: https://prettier-plugin-tailwindcss-anarchy.netlify.app/

This Prettier plugin is a modification to pretier-plugin-tailwindcss. It sorts the tailwind classes randomly and not according to a specific order.

Installation

First, install prettier and the prettier-tailwindcss-anarchy-plugin:

npm install -D prettier prettier-plugin-tailwindcss-anarchy

Then create a file named .prettierrc and add the following code:

{
    "plugins": ["prettier-plugin-tailwindcss-anarchy"]
}
  • The installation can vary depending on your framework or setup.

For more information, refer to prettier-plugin-tailwindcss, as only the sorting has been changed.

About

A Prettier plugin for Tailwind CSS that automatically sorts classes based on RNG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%