🌟 The "extends": "plugin:@eslint-community/eslint-comments/recommended" property in a configuration file enables this rule.
Duplicate of eslint-disable directive-comments implies that there is a mix of wide-range directive-comments and narrow-range directive-comments. The mix may cause to overlook ESLint warnings in future.
This rule warns duplicate eslint-disable directive-comments.
@eslint-community/eslint-comments/no-duplicate-disable
"extends": "plugin:@eslint-community/eslint-comments/recommended"
property in a configuration file enables this rule.Duplicate of
eslint-disable
directive-comments implies that there is a mix of wide-range directive-comments and narrow-range directive-comments. The mix may cause to overlook ESLint warnings in future.This rule warns duplicate
eslint-disable
directive-comments.Rule Details
Examples of 👎 incorrect code for this rule:
Examples of 👍 correct code for this rule: