Closed ehmicky closed 5 years ago
Thank you for this report.
eslint-comments/no-unused-disable
is the alias of --report-unused-disable-directives
option.
The markdown plugin seems to handle the HTML comments in a different way from ESLint core, so the rule doesn't recognize the HTML comments. So this is not a bug, but an enhancement.
README.md
:In the terminal:
The command does not report any errors. However
no-unused-disable
should be reported.Versions:
eslint
:5.16.0
(also fails with6.0.0-alpha.0
)eslint-plugin-eslint-comments
:3.1.1
eslint-plugin-markdown
:1.0.0
I am not sure whether the issue comes from
eslint-plugin-eslint-comments
oreslint-plugin-markdown
, so I decided to report this bug here.