-
-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Can't lint values in an object passed to a callee.
My list of callees: ["clsx", "cva"].
This doesn't work:
const buttons = cva({
variants: {
variant: {
primary: "bg-white text-black font-bold px-4",
secondary: "bg-black text-white font-semibold px-5",
},
},
});This does:
const buttons = cva({
variants: {
variant: {
primary: clsx("bg-white text-black font-bold px-4"),
secondary: clsx("bg-black text-white font-semibold px-5"),
},
},
});Describe the solution you'd like
I would like for the first example to work.
patrykszydlowski, dipsaus9 and vietan0
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request