This PR adds support for disable comments to the Markdown plugin. It supports all of the variations that ESLint supports:
eslint-disable/eslint-enable
eslint-disable-line
eslint-disable-next-line
While working on this, I discovered a bug in no-html where it was only reporting the first HTML tag in an html node even though there can be multiple. It was also skipping any html node that began with a comment. I also fixed these bugs in this PR, as I needed a good example to test the disable directives.
Note: This PR intentionally does not implement inline configuration comments like /* eslint rule:error */.
This PR adds support for disable comments to the Markdown plugin. It supports all of the variations that ESLint supports:
eslint-disable
/eslint-enable
eslint-disable-line
eslint-disable-next-line
While working on this, I discovered a bug in
no-html
where it was only reporting the first HTML tag in anhtml
node even though there can be multiple. It was also skipping anyhtml
node that began with a comment. I also fixed these bugs in this PR, as I needed a good example to test the disable directives.Note: This PR intentionally does not implement inline configuration comments like
/* eslint rule:error */
.