From fc601dbd95a4481e143461680137e3eb50a3ca33 Mon Sep 17 00:00:00 2001 From: Heyward Fann Date: Thu, 30 Dec 2021 15:29:11 +0800 Subject: [PATCH] feat: allImportsAreUnused error can be converted to warning (#337) --- src/server/typescriptServiceClientHost.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/typescriptServiceClientHost.ts b/src/server/typescriptServiceClientHost.ts index 9b575fe..9b04e72 100644 --- a/src/server/typescriptServiceClientHost.ts +++ b/src/server/typescriptServiceClientHost.ts @@ -22,6 +22,7 @@ import TypingsStatus, { AtaProgressReporter } from './utils/typingsStatus' const styleCheckDiagnostics = [ 6133, // variable is declared but never used 6138, // property is declared but its value is never read + 6192, // allImportsAreUnused 7027, // unreachable code detected 7028, // unused label 7029, // fall through case in switch