djLint icon indicating copy to clipboard operation
djLint copied to clipboard

[FEATURE] `<slot></slot>` should not trigger empty tags warning

Open mangelozzi opened this issue 1 year ago • 0 comments

The native slot component is for slotting content, and this is probably the most common usage of it:

<slot></slot>

It raises empty pair found consider removing [H020], which I think should not be displayed if it is a slot element.

mangelozzi avatar Jul 18 '24 13:07 mangelozzi