How to make sonarlint analyze the .js files of a java project

sonarlint
sonarqube

(Angular Developer) #1

I have a java project which has java, javascript, css and jsp code.
I have linked it to a sonarqube project too.
After that only java files are validated against the sonarqube project. How do we make all the other types of file to compare with sonarqube project?

Thanks in advance.


(Duarte Meneses) #2

Hi,

Which IDE are you using? Could you post the logs of the analysis of the files in SonarLint?
Thanks.


(vicky) #3

@AngularDev IDE which supports java will also supports Javascript in most of the cases. You can refer this (https://www.sonarlint.org/) to verify whether your ide supports javascript or not. If your project is setted up for java,javascript in sonarqube server then it should pick else share the log file.