Skip to content
Hanxing Yang edited this page Jul 10, 2016 · 2 revisions

name

self-close

destyleion

Check if void elements close themeselves with /. If found not matching config (close / no-close), it reports.

sample

<!-- close -->
<input />

<!-- no-close -->
<input>

code

  • 039

    Void elements found self-closed while configured no-close.

  • 040

    Void elements found not self-closed while configured close.

config

  • close

    Void elements should close themselves.

  • no-close

    Void elements should not close themselves.

  • false

    Do not check / format.

format support

No.

Clone this wiki locally