From c3376e95cfd73104f5a76623086323b4478a1036 Mon Sep 17 00:00:00 2001 From: sup39 Date: Fri, 20 Aug 2021 04:10:31 +0900 Subject: [PATCH] ignore 80002 --- src/server/features/diagnostics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/features/diagnostics.ts b/src/server/features/diagnostics.ts index 28f6f0e..9162aee 100644 --- a/src/server/features/diagnostics.ts +++ b/src/server/features/diagnostics.ts @@ -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 }) }