Skip to content

Commit

Permalink
chore: add commented test for issue 135
Browse files Browse the repository at this point in the history
  • Loading branch information
francoismassart committed Dec 13, 2022
1 parent 8fa5d62 commit cbbf2db
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/lib/rules/no-contradicting-classname.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,25 @@ ruleTester.run("no-contradicting-classname", rule, {
],
errors: generateErrors(["px-2 px-4"]),
},
// {
// /* Issue #135 */
// code: `
// const buttons = cva({
// variants: {
// variant: {
// primary: "bg-white text-black font-bold px-4 bg-red",
// secondary: "bg-black text-white font-semibold px-5 bg-red",
// },
// },
// });
// `,
// options: [
// {
// callees: ["cva"],
// },
// ],
// errors: [...generateErrors("bg-white bg-red"), ...generateErrors("bg-black bg-red")],
// },
{
code: `
<div className={\`stroke-white stroke-none \${ctl('-outline-offset-2 outline-offset-4')}\`}>
Expand Down

0 comments on commit cbbf2db

Please sign in to comment.