From 5b90ebe4829a9be6babbeaae8d70bccbab9f4ddf Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 2 Jun 2025 22:35:07 -0500 Subject: [PATCH] Prevent the bot from disabling eslint rules --- eslint.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index e27c3f7..2caeb10 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -16,6 +16,10 @@ export default tseslint.config( ecmaVersion: 2020, globals: globals.browser, }, + linterOptions: { + noInlineConfig: true, // Prevents all eslint-disable comments + reportUnusedDisableDirectives: "error", // Reports unused disable directives as errors + }, plugins: { "react-hooks": reactHooks, "react-refresh": reactRefresh,