Closed teppeis closed 4 months ago
Thank you for posting the issue.
As you say, I think no-unused-disable
should be deprecated.
I also think no-unused-enable
can also be deprecated since the following PR was merged:
https://github.com/eslint/eslint/pull/17611
This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! 🙂
This rule is implemented by patching
Linter
, which seems to be causing this problem with new flat config.The flat config allows
reportUnusedDisableDirectives
to be included in shareable config. The new RFC will also allow for more configuration flexibility (in ESLint v9 ?).So it would be good to make this rule deprecated in the future.
original: https://github.com/mysticatea/eslint-plugin-eslint-comments/issues/79