-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-unused-disable
does not work within Markdown files
#23
Comments
Thank you for this report.
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. |
Thanks for your answer, you're right. Now I know |
README.md
:.eslintrc.yml
: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.The text was updated successfully, but these errors were encountered: