How to disable TypeScript warnings in VSCode?

stefan2410 picture stefan2410 · Mar 6, 2017 · Viewed 45.1k times · Source

I don't use TypeScript for the time being. Only ES6 with babel.
I don't have installed TypeScript in node_modules.

I get a specific warning from VSCode every time I open a workspace.

\node_modules\typescript\lib doesn't point to a valid tsserver install. Falling back to bundled TypeScript version.

How can I get rid of such warnings? Or should I change editor in order to feel calm?

Answer

Johannes Rieken picture Johannes Rieken · Mar 6, 2017

TypeScript and JavaScript validation can be turned off in VS Code with these two settings:

"typescript.validate.enable": false,
"javascript.validate.enable": false,

Happy Coding