How to disable JavaScript build error in Visual Studio 2017?

后端 未结 7 604
Happy的楠姐
Happy的楠姐 2021-01-30 04:31

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 pre

7条回答
  •  [愿得一人]
    2021-01-30 05:22

    Add /*eslint eqeqeq: ["error", "smart"]*/ to the first line of your Javascript code to remove the errors. https://eslint.org/docs/rules/eqeqeq

    Following Mohammad's solution will turn off ESLint for syntax checking. This works in VS2015 and should work in later versions.

提交回复
热议问题