directive-disable-enable-pair
Require an eslint-enable directive for every block eslint-disable or oxlint-disable directive.
Why
A block disable without an enable directive switches the rule off for the rest of the file, including code written long after the exception was reviewed.
Fix
Add an eslint-enable directive for the same rules right after the code the exception covers.
Examples
/* eslint-disable no-console -- the CLI prints its report */console.log(report);/* eslint-disable no-console -- the CLI prints its report */console.log(report);/* eslint-enable no-console */