Prevent the bot from disabling eslint rules

This commit is contained in:
Alex Gleason 2025-06-02 22:35:07 -05:00
parent c2ff2a990f
commit 5b90ebe482
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

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,