mohammadsiyou / prettier-plugin-twin.macro

Sort Tailwind and Twin classes based on recommended class order of Tailwind using Prettier.
11 stars 1 forks source link

Can you add some preference options? #2

Open u3u opened 2 years ago

u3u commented 2 years ago

For example, always use grouping:

tw`cursor-pointer hover:text-primary-500 active:text-primary-600`
// ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
tw`cursor-pointer hover:(text-primary-500) active:(text-primary-600)`