Tibor Blenessy
Tibor Blenessy
hello @kolesoffac, you are using very outdated versions of SonarQube and SonarTS / SonarJS plugins. Can you please upgrade at least to the latest SonarQube LTS 7.9.2 and SonarJS 6.2?...
@kolesoffac can you please send the debug log with the new version? Is the cpd not computed only for Vue.js files?
@nzakas I would like to give it a try. I can try to allocate some time by the end of August. Could you pls provide some pointers about RFC process?...
hello @thw0rted , what is the version of TypeScript you use?
Usually, a more recent version of TS is smarter, so some not-null assertions are not needed in later versions. But 4.0.3 is very recent, so it shouldn't be case here.
See also https://github.com/SonarSource/SonarJS/issues/3667
As a first step to tackle this problem we could strip these invisible control characters from the stream to avoid parsing issues and log a warning for the user.
I am reopening this ticket, because the new predicate is not used in the sensor, which should be fixed
Thanks for reporting, we will have a look at this. I also created a related issue in our Sonar plugin repo https://github.com/SonarSource/SonarJS/issues/3968