microsoft / vscode-typescript-tslint-plugin

VS Code extension that provides TSLint support using the typescript-tslint-plugin
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
MIT License
188 stars 35 forks source link

"tslint.alwaysShowRuleFailuresAsWarnings": false should be the default #122

Closed Masterxilo closed 1 year ago

Masterxilo commented 4 years ago

Currently, "tslint.alwaysShowRuleFailuresAsWarnings": true is configured by default globally.

It was confusing to me that in oder to make "no-shadowed-variable": {"severity": "error"} be recognized by vs I had to change this setting.

Masterxilo commented 4 years ago

without the proper (should be default) configuration "tslint.alwaysShowRuleFailuresAsWarnings": true image with the proper configuration in settings.json I can see that key will be shadowed and I am warned about this error image

It should not be necessary to configure this. There are many places to treat all linting as warnings already.

Vscode should not by default interpret the linting rules differently!

Masterxilo commented 4 years ago

Here is real-world trouble caused by this: https://github.com/angular/angular-cli/issues/16231

mjbvz commented 1 year ago

Closing as TSLint has been deprecated in favor of ESLint and this extension is no longer being maintained

Please look into migrating to use ESLint and the ESLint VS Code extension