From 512e5b42f78c43c52946bfaf50983aa80a8352e9 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Wed, 12 Dec 2018 17:44:00 -0800 Subject: [PATCH] Don't show errors in editor for tslint library load failures Fixes #25 --- src/plugin.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugin.ts b/src/plugin.ts index b407f8b..a3fa515 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -144,15 +144,6 @@ export class TSLintPlugin { for (const warning of result.warnings) { this.logger.info(`[tslint] ${warning}`); - diagnostics.push({ - code: TSLINT_ERROR_CODE, - source: TSLINT_ERROR_SOURCE, - category: this.ts.DiagnosticCategory.Error, - file, - start: 0, - length: 1, - messageText: warning, - }); } const tslintProblems = filterProblemsForFile(fileName, result.lintResult.failures);