diff --git a/eslint.config.js b/eslint.config.js index 47ad6ac806edd8..8b6b7c734d8b5c 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -30,7 +30,7 @@ export default tseslint.config( }, { linterOptions: { - reportUnusedDisableDirectives: !shouldTypeCheck, + reportUnusedDisableDirectives: shouldTypeCheck ? 'warn' : 'off', }, }, eslint.configs.recommended,