mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
Prevent the bot from disabling eslint rules
This commit is contained in:
1 file changed
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user