How to disable JavaScript build error in Visual Studio 2017?(如何在 Visual Studio 2017 中禁用 JavaScript 构建错误?)
问题描述
我刚刚将 Visual Studio 2017 从 RC 更新为最终版本.我没有收到以下错误,但最近我收到了这个错误.在构建项目时,我收到以下错误,它会阻止 Web 项目启动:
I just updated Visual Studio 2017 from RC to final. I didn’t get the following error but recently I get this error. In building the project, I get the following error and it prevents the web project to start:
Severity Code Description Project File Line Suppression State
Error eqeqeq (ESLint) Expected '===' and instead saw '=='. VistaBest.Shop.Web C:***Request.js 21
如何在 Visual Studio 2017 中禁用 JavaScript 构建错误?
How can I disable JavaScript building error in Visual Studio 2017?
推荐答案
我想,找到解决办法:
I think, find the solution:
- 打开
工具>选项
- 导航到
文本编辑器 >JavaScript/TypeScript >EsLint
(在 VS2017 15.8 中是Linting
而不是EsLint
) - 将
Enable ESLint
设置为False
- Open
Tools > Options
- Navigate to
Text Editor > JavaScript/TypeScript > EsLint
(in VS2017 15.8 it isLinting
notEsLint
) - Set
Enable ESLint
toFalse
Visual Studio >= 15.8.5
Visual Studio >= 15.8.5
这篇关于如何在 Visual Studio 2017 中禁用 JavaScript 构建错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Visual Studio 2017 中禁用 JavaScript 构建错误


- 使用 iframe URL 的 jQuery UI 对话框 2022-01-01
- 如何调试 CSS/Javascript 悬停问题 2022-01-01
- 在不使用循环的情况下查找数字数组中的一项 2022-01-01
- 如何向 ipc 渲染器发送添加回调 2022-01-01
- 我不能使用 json 使用 react 向我的 web api 发出 Post 请求 2022-01-01
- 从原点悬停时触发 translateY() 2022-01-01
- 如何显示带有换行符的文本标签? 2022-01-01
- 为什么悬停在委托事件处理程序中不起作用? 2022-01-01
- 是否可以将标志传递给 Gulp 以使其以不同的方式 2022-01-01
- 为什么我的页面无法在 Github 上加载? 2022-01-01