Reputation: 117
I haven't touched VS Code or my computer for 5 weeks (vacation) and now suddenly out of nowhere the TS lint started wildly showing lint errors that are completely incorrect. They aren't even close to being correct and it shows it in files that haven't been changed that has previously had no lint errors. Its basically throwing random errors at me. And if I lint via the terminal it reports no errors.
This has happened several times in VS Code and also in Atom. Don't really know how it got fixed, it just shows up and then vanishes eventually.
Anyone have experienced this or know what it might be?
Upvotes: 5
Views: 5186
Reputation: 163
check your file association, sometimes Vscode goes haywire on update.
re-set your file association manually to the correct type then ctrl + shift + p and choose developer: reload window
Upvotes: 0
Reputation: 289
Go to Extensions and disable eslint, the reload the VScode, then enable eslint again. See image here
Upvotes: 8