Prevent the bot from disabling eslint rules

This commit is contained in:
Alex Gleason committed 2025-06-02 22:35:07 -05:00
1 parent c2ff2a990f
commit 5b90ebe482
1 file changed
+4
+4
View File
@@ -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,