How can I use TSLint in VS Code?
The vscode-tslint extension currently crashes silently when it encounters an invalid config-option. In my case, it was the no-trailing-comma
rule which has to be changed to trailing-comma
.
More info here: https://github.com/Microsoft/vscode-tslint/issues/66
In my case it was the .vscode/tasks.json
file. I removed and recreated the file and its all working fine now.
On a new machine, I installed VS Code tslint extension before installing tslint itself (via npm), and nothing helped to make it work other than disabling and re-enabling the extension.
VS Code doesn't give any warning. What does this extension do
When in doubt. Restart VSCode.