fix: improve global type detection of vue files (#4455)

This commit is contained in:
Vben
2024-09-21 13:50:54 +08:00
committed by GitHub
parent d34f1fbf2f
commit bc625ee710
3 changed files with 17 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ export async function javascript(): Promise<Linter.Config[]> {
'no-template-curly-in-string': 'error',
'no-this-before-super': 'error',
'no-throw-literal': 'error',
'no-undef': 'error',
'no-undef': 'off',
'no-undef-init': 'error',
'no-unexpected-multiline': 'error',
'no-unmodified-loop-condition': 'error',