directive-no-use
Disallow directive comments, eslint-* or oxlint-*, except the allowed kinds.
Why
Block disables and inline rule configuration hide diagnostics for whole regions of a file. Allowing only line-scoped directives keeps each exception next to the code it excuses.
Fix
Replace the directive with one of the allowed kinds, usually an eslint-disable-next-line comment that names the rule and the reason.
Examples
/* eslint-disable no-console -- the CLI prints its report */console.log(report);// eslint-disable-next-line no-console -- the CLI prints its reportconsole.log(report);