VS Code: Change color of squiggly underline for Lint

后端 未结 4 1946
[愿得一人]
[愿得一人] 2021-01-01 11:10

My configurations currently show the same red squiggly line for Typescript errors and TSLint warnings.

I am using TSLint extension for Visual Studio Code but the con

4条回答
  •  天命终不由人
    2021-01-01 11:53

    There is a setting to have the tslint extension return warnings (green) instead of errors (red): "tslint.alwaysShowRuleFailuresAsWarnings": true

    Also, you can change your tslint config to determine which issues are errors, and which are warnings.

提交回复
热议问题