Skip to content

@eslint-community/eslint-comments/no-unused-enable

disallow unused eslint-enable comments

  • 🌟 The "extends": "plugin:@eslint-community/eslint-comments/recommended" property in a configuration file enables this rule.

This rule warns eslint-enable directive-comments which have no effect.

Rule Details

Examples of 👎 incorrect code for this rule:

Examples of 👍 correct code for this rule:

Released under the Apache License 2.0.