本文介紹了如何在 Visual Studio 2017 中禁用 JavaScript 構建錯誤?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
限時送ChatGPT賬號..
我剛剛將 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 構建錯誤?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!