Get Rid of All Those JavaScript Warnings in Visual Studio

Updating Visual Studio is for most cases a non-event. However, one instance started to show JavaScript errors all over the place. Since we do not write JavaScript with this instance, we do not need to know about JavaScript errors.

The simplest way to disable those errors: go to Tools > Options… and search for ESLint:

Search for eslint

Unmark the checkbox in front of Enable ESLint, restart Visual Studio and you are done.

If the errors persist, you can open Tools > Options… again, search for JavaScript Errors and disable the setting:

set Enable JavaScript errors to false

Restart again and now Visual Studio will no longer show you any JavaScript errors. Just keep in mind to revert those changes when you suddenly start writing JavaScript…