如何在 VSCode 中禁用 ESlint 解析器错误消息? [英] How to disable ESlint parser error messages in VSCode?

查看:49
本文介绍了如何在 VSCode 中禁用 ESlint 解析器错误消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用插件用 vscode 配置了 ESlint,现在我想知道有什么方法可以阻止 ESlint 向我显示解析器/语法错误,所以我可以查看 Salsa 语言服务提供的语法错误默认.

I have ESlint configured with vscode using the plugin, now I'm wondering is there some way I can stop ESlint from showing me the parser/syntax errors, so I can instead view the syntax errors that the Salsa language service provides by default.

推荐答案

更新:请参考此更新回答

打开 settings.json 并添加属性:eslint.enable":false

Open up settings.json and add the property: "eslint.enable": false

检查:https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

这篇关于如何在 VSCode 中禁用 ESlint 解析器错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆