mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 01:45:58 +08:00
build: fix eslint undef
This commit is contained in:
parent
f215db87e3
commit
f8c3189f4d
@ -102,7 +102,8 @@ export default combine(
|
||||
// orignal config
|
||||
rules: {
|
||||
// from old version of antfu/eslint-config
|
||||
"no-undef": "warn",
|
||||
// typescript will handle this, see https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
|
||||
"no-undef": "off",
|
||||
|
||||
'ts/consistent-type-definitions': ['error', 'type'],
|
||||
// orignal ts/no-var-requires
|
||||
|
Loading…
x
Reference in New Issue
Block a user