mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 13:09:22 +00:00
Prevent the bot from disabling eslint rules
This commit is contained in:
parent
c2ff2a990f
commit
5b90ebe482
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user