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 }) }