Disable TSLint in VSCode

后端 未结 6 648
太阳男子
太阳男子 2021-01-31 06:59

So this feels like this should be such an easy task but it\'s starting to drive me insane. I can\'t seem to turn off TSLint or TS or whatever it is that gives me these errors. I

6条回答
  •  忘掉有多难
    2021-01-31 07:40

    It seems that the error is coming from the TypeScript extension, which is also handling the JavaScript IntelliSense. Due to some UX ignorance, VSCode prefixes the error with [ts] instead of [js].

    To disable these validations, set

    "javascript.validate.enable": false
    

    See this issue for more details.

提交回复
热议问题