Unable to analyze JS files in Visual Studio 2019

My Question is I have Installed SonarLint 2019 in VisualStudio 2019 but now it is not scanning my *.js files it is Just targetting cs file . i tried to Activate Javascript by going to Tool - SonarLint - Activate clcik but still its not working for me . Kindly Help.

My Second Question is Can it scan HTML code also which is there in Visual Studio 2019 IDE ?

Hi @Gayatri. Welcome to the community.

JavaScript files are only analysed when you open or save the file in the editor. If you’ve just activated support for analysing JavaScript then any open JavaScript files won’t be analysed until you re-open them.

No, analysis of HTML code is not currently supported in VS2019.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.