Good morning,
I have a problem in SonarQube.
I noticed, in my project, that there are no errors, bugs, Vulnerabilities, Security Hotspots etc. It is all equal to 0.
But in theory, there should be a lot more errors, because in my local project, I have installed SonarLint extensions, and configured the same rules set on SonarQube. So, in my local typescript files, errors are reported, while SonarQube does not report the same errors.
This situation, however, has not always been present, in fact some days ago, SonarQube was working correctly, and all sonar errors are reported correctly also in SonarQube.
I can notice the following warning:
JavaScript and/or TypeScript rules were not executed. Missing TypeScript dependency.
Has there been any change? Has something different been set on SonarQube? Has something new been configured?
Could you please check?
I remain available for any clarification.
I look forward to your kind reply,
With best regards,
Hi! We are expanding our Typescript usage in our project. We were assuming that Sonar cloud would analyze and report errors from Typescript normally seen from the tsc transpiler. After testing this appears to not be the case. Are we missing some configuration for this or is it so that Sonar does not report Typescript errors?
An example error is to leave a function parameter without any typing information and weâd expect to see message âParameter âsessionâ implicitly has an âanyâ type.ts(7006)â.
I am considering an alternative where we format the error output from tsc in eslint style report JSON and pass that into Sonar to show the errors. This is suboptimal in my opinion.