This rule is implemented by patching Linter, which seems to be causing this problem with new flat config.
The flat config allows reportUnusedDisableDirectives to be included in shareable config.
The new RFC will also allow for more configuration flexibility (in ESLint v9 ?).
So it would be good to make this rule deprecated in the future.
original: mysticatea#79