Explicitly disable eslint rule 'no-undef'

They way the project is structured this isn't really usable for now but
might change with move to ESM modules.

See: https://eslint.org/docs/latest/rules/no-undef

Ref: #8068
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser 2025-06-13 18:23:18 +02:00
parent c0a3f2d885
commit 10f331271e
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ const configEslintRecommended = {
"no-redeclare": "warn",
"no-self-assign": "warn",
"no-shadow-restricted-names": "warn",
"no-undef": "off",
/* "no-undef": "warn", */
"no-unreachable": "warn",
"no-unsafe-negation": ["warn", { "enforceForOrderingRelations": true }],
"no-unused-labels": "warn",