I have installed TSLint in VSCode and created a tslint.json file next to tsconfig.json. But TSLint is not working. For example, I added "curly": true to tslint.json, but when I write a if statement without curly braces, VS Code doesn't give any warning. What does this extension do?
tslint.json
tsconfig.json
"curly": true
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.
no-trailing-comma
trailing-comma
More info here: https://github.com/Microsoft/vscode-tslint/issues/66
1.4m articles
1.4m replys
5 comments
57.0k users