VS Code: Change color of squiggly underline for Lint

后端 未结 4 1940
[愿得一人]
[愿得一人] 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:59

    For eslint I was able to just set specific rules to warning, which I think is a better way to do it rather than trying to set all to one level. The unused vars was the one that really annoyed me, so:

    in the .eslintrc file...

    {
        "rules" : {
        "no-unused-vars": "warn"
    }
    

提交回复
热议问题