Appearance
disallow unused eslint-enable comments
eslint-enable
"extends": "plugin:@eslint-community/eslint-comments/recommended"
This rule warns eslint-enable directive-comments which have no effect.
Examples of 👎 incorrect code for this rule:
Examples of 👍 correct code for this rule:
@eslint-community/eslint-comments/no-unused-enable
"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: