-
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
In the docs it says
TIP
The eslint-comments/no-unused-disable rule has the same effect as --report-unused-disable-directives option. However, the eslint-comments/no-unused-disable rule is relatively useful since it can be configured in shareable configs.
While this is true, ESLint also provides the reportUnusedDisableDirectives
config option, which can be configured in shareable configs: https://eslint.org/docs/latest/use/configure/rules#report-unused-eslint-disable-comments
And the default value of that option was changed to true
a few weeks ago, so will probably be included as a default setting with ESLint v9: eslint/eslint#17879
I propose that no-unused-disable
should be deprecated, and removed in a future release
Metadata
Metadata
Assignees
Labels
No labels