如何在Visual Studio 2017中禁用JavaScript生成错误? [英] How to disable JavaScript build error in Visual Studio 2017?

查看:106
本文介绍了如何在Visual Studio 2017中禁用JavaScript生成错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从RC更新了Visual Studio 2017到final。我没有得到以下错误,但最近我收到此错误。在构建项目时,我收到以下错误,它阻止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:


  1. 打开工具>选项

  2. 导航到文本编辑器> JavaScript / TypeScript> EsLint (在VS2017 15.8中 Linting 不是 EsLint

  3. 设置启用ESLint False

  1. Open Tools > Options
  2. Navigate to Text Editor > JavaScript/TypeScript > EsLint (in VS2017 15.8 it is Linting not EsLint)
  3. Set Enable ESLint to False

Visual Studio> = 15.8.5

Visual Studio >= 15.8.5

这篇关于如何在Visual Studio 2017中禁用JavaScript生成错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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