@Colin - Thank you Colin for the prompt response but unfortunately suggested solution didn’t work.
I have added below properties to pom.
Any other alternate option?
* *
- <sonar.sources>src/js</sonar.sources>*
As per Analysis JavaScript and Java in one project - #2 by TomVanBraband