ESLint or “Linting” is a tool that can be used to write code that meets certain guidelines. ESLint is supported in Microsoft Visual Studio. You can turn it on or off using these steps.

Vistual Studio 2019 & 2017

  1. Navigate to “Tools” > “Options“.
  2. Select “Text Editor” on the left pane.
  3. Expand “JavaScript/TypeScript“.
  4. Choose “Linting” > “General
  5. Check the “Enable ESLint” box to enable it. Uncheck it to disable it. Select “OK” when you’re done.
ESLint settings in Visual Studio.

Note: Some versions of Visual Studio may have this setting under “Tools” > “Options” > “Text Editor” > “JavaScript/TypeScript” > “ESLint” where you can set the “Enable ESLint” setting to “True” or “False“.

Leave a comment

Your email address will not be published. Required fields are marked *