Skip to content

[Feature request] tailwind-merge, clsx & classnames support #252

@SanderCokart

Description

@SanderCokart

Is your feature request related to a problem? Please describe.
this eslint plguin cannot detect classnames within anything other than the class,className html tag.
This means clsx, classnames and tailwind-merge do no enforce the rules.

Describe the solution you'd like
At least I would like tailwind-merge to be supported so that classname orders work for tailwind-merge

Describe alternatives you've considered
None

Additional context

className={twMerge/twJoin(
   'h-full w-full fill-transparent stroke-white stroke-2 drop-shadow-[#000_0_0_8px] transition-[color]',
   selectedPickupPoint === pickupPoint && 'fill-success'
)}

https://github.com/dcastil/tailwind-merge

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions