- SonarQube 8.9.8 (LTS), SonarJS 7.4.4
I have a Typescript project that uses a few relatively-modern compiler features, from within the past 2 years. From the SonarjS release notes, it looks like scanner version 7.4.4 (released just over a year ago) is the last one before 8.0, which added support for TS 4.3 (released around the same time). I had to comment out new compiler options in my
tsconfig to get the scanner to run at all, and now when I scan my code, about a quarter of my source files are skipped because the parser breaks on new keywords like
First: is 7.4.4 the newest SonarJS version that can be used on the current LTS server software? If so, are LTS users expected to just not add modern Typescript features for 2+ years? A newer plugin is supported, where do I find that information? I saw this plugin matrix but it doesn’t include core language scanners / plugins.
Second: I found this older post where @Yassin_Kammoun said “We’ll make sure to be more explicit about supported TypeScript versions with future SonarQube releases” – did that ever happen? I see that the v9.5 docs for JS/TS say Typescript 4.6, while the docs for 8.9LTS just say “Typescript 4” (without specifying a minor version). I’d love to have a TS-specific roadmap, since their compiler adds pretty significant changes more than once a year, and they’re often exactly the kind of static analysis improvements that Sonar users would love to be able to take advantage of.