Search code examples
javascriptsonarlintsonarlint-vs

SonarLint v 3.0.0.1569 not displaying JavaScript Issues


I am using SonarLint v 3.0.0.1569 with Visual Studio 2015 version 14.0.25431.01 Update 3. SonarLint seems to be working perfectly with C# code, but for JavaScript code, I get the squiggly green underscore indicating an issue, but neither when I hover nor when I press + do I get the message about the issue.

I did get the "Activate support for JavaScript" message and said "yes". If I go to Tools | Options | SonarLint, everything looks good (i.e., the button to Deactivate JavaScript support is displayed). Am I missing something or is this just a bug or ???


Solution

  • Keep opened all your Javascript files in VisualStudio, which are need to be analyzed and then build your solution. You'll get all javascript errors in ErrorList Window (Under Errors)

    Note: Make sure Tools | Options | SonarLint | Javasript is Activated