Skip to content

no-unused-disable is redundant #249

Open
@CruseCtrl

Description

Eslint already has the reportUnusedDisableDirectives setting, and starting in eslint v9, that setting is enabled by default: https://eslint.org/docs/latest/use/configure/rules#report-unused-eslint-disable-comments

It also has auto-fix, so running eslint --fix will automatically remove any unused disable directives. I don't think the no-unused-disable is adding anything extra, so it should be removed from this plugin

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions