Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(tw3.4.0): New :has() variant
  • Loading branch information
francoismassart committed Dec 28, 2023
commit a6a92cc523c8cdc7010b811f1d11e53a9a055b32
5 changes: 5 additions & 0 deletions tests/lib/rules/no-custom-classname.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,11 @@ ruleTester.run("no-custom-classname", rule, {
</div>
`,
},
{
code: `
<label class="has-[:checked]:ring-indigo-500 has-[:checked]:text-indigo-900 has-[:checked]:bg-indigo-50">New :has() variant</label>
`,
},
],

invalid: [
Expand Down