Phaze
Phaze

Reputation: 545

Angular 6 tslint duplicates every warning and error

I've recently updated to Angular 6 and now every tslint error and warning is being duplicated. Tslint version is 5.10.0, Angular CLI is 6.0.0, Typescript is 2.7.2 and Codelyzer is 4.3.0. For example:

ERROR: file.ts[30, 58]: Missing trailing comma 
ERROR: file.ts[30, 58]: Missing trailing comma 
ERROR: file.ts[33, 29]: Missing semicolon 
ERROR: file.ts[33, 29]: Missing semicolon 

Has anybody faced similar issues?

Upvotes: 4

Views: 957

Answers (1)

Dave Gillem
Dave Gillem

Reputation: 516

FWIW, in case anyone else comes across this issue. I had this same issue, it turned out to be that I had multiple TSLINT extensions enabled in VSCode (one for M$ and one from egamma). So it would display errors and warnings twice. Once I disabled one of them it only displays the errors and warnings once as intended.

Hope that helps.

Upvotes: 1

Related Questions