ignore 80002

This commit is contained in:
sup39 2021-08-20 04:10:31 +09:00
parent 860c97aaf0
commit c3376e95cf

View file

@ -148,7 +148,7 @@ export class DiagnosticsManager {
if (!enabled) {
return x.tags && (x.tags.includes(DiagnosticTag.Unnecessary) || x.tags.includes(DiagnosticTag.Deprecated))
}
return x.code !== 80001 // disable annoying CommonJS module warning
return x.code !== 80001 && x.code !== 80002 // disable annoying CommonJS module warning
})
}