microsoft / tsdoc

A doc comment standard for TypeScript
https://tsdoc.org/
MIT License
4.67k stars 131 forks source link

tsdoc-html-tag-missing-equals erroneously flagging boolean attributes #367

Open pinkhominid opened 10 months ago

pinkhominid commented 10 months ago

This valid html with a boolean attribute fails linting

<dialog open>
</dialog>

tsdoc-html-tag-missing-equals: The HTML element has an invalid attribute: Expecting "=" after HTML attribute name eslint(tsdoc/syntax)

And there seems to be no way to disable granular rules, #220.