disallow eslint-disable comments without rule names
🌟 The "extends": "plugin:@eslint-community/eslint-comments/recommended" property in a configuration file enables this rule.
eslint-disable directive-comments disable all rules by default. This may cause to overlook some ESLint warnings unintentionally. So you should specify the rules to disable accurately.
@eslint-community/eslint-comments/no-unlimited-disable
"extends": "plugin:@eslint-community/eslint-comments/recommended"
property in a configuration file enables this rule.eslint-disable
directive-comments disable all rules by default. This may cause to overlook some ESLint warnings unintentionally. So you should specify the rules to disable accurately.Rule Details
Examples of 👎 incorrect code for this rule:
Examples of 👍 correct code for this rule: