本文介紹了如何在 Visual Studio 2017 中禁用 JavaScript 構(gòu)建錯(cuò)誤?的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
限時(shí)送ChatGPT賬號..
我剛剛將 Visual Studio 2017 從 RC 更新為最終版本.我沒有收到以下錯(cuò)誤,但最近我收到了這個(gè)錯(cuò)誤.在構(gòu)建項(xiàng)目時(shí),我收到以下錯(cuò)誤,它會阻止 Web 項(xiàng)目啟動(dòng):
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 構(gòu)建錯(cuò)誤?
How can I disable JavaScript building error in Visual Studio 2017?
推薦答案
我想,找到解決辦法:
I think, find the solution:
- 打開
工具>選項(xiàng)
- 導(dǎo)航到
文本編輯器 >JavaScript/TypeScript >EsLint
(在 VS2017 15.8 中是Linting
而不是EsLint
) - 將
Enable ESLint
設(shè)置為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
這篇關(guān)于如何在 Visual Studio 2017 中禁用 JavaScript 構(gòu)建錯(cuò)誤?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!