mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +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,
|
ecmaVersion: 2020,
|
||||||
globals: globals.browser,
|
globals: globals.browser,
|
||||||
},
|
},
|
||||||
|
linterOptions: {
|
||||||
|
noInlineConfig: true, // Prevents all eslint-disable comments
|
||||||
|
reportUnusedDisableDirectives: "error", // Reports unused disable directives as errors
|
||||||
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
"react-hooks": reactHooks,
|
"react-hooks": reactHooks,
|
||||||
"react-refresh": reactRefresh,
|
"react-refresh": reactRefresh,
|
||||||
|
|||||||
Reference in new issue
Block a user