Rule java:S1228 shown in SonarQube web interface, but not in SonarLint Plugin

Please provide

  • Operating system: Windos 10
  • SonarLint plugin version: 7.2.0.56810
  • Programming language you’re coding in: Java
  • Connected to SonarCloud or SonarQube (and which version): 9.7.1

And a thorough description of the problem / question:

We use SonarQube Version 9.7.1 (build 62043) and the SonarLint plugin version 7.2.0.56810 in IntelliJ IDEA 2022.1 (Community Edition).
The rule java:S1228 »Packages should have a javadoc file ‘package-info.java’« has been activated among many other rules in the SonarQube profile we use and violations of this rule are shown in the SonarQube web interface as expected. However, although the SonarLint plugin in IntelliJ has been bound to the respective project on the SonarQube server, violations of java:S1228 are not shown by the SonarLint plugin. (Neither directly in the IntelliJ editor nor in the report tab of the plugin window within IntelliJ) Violations of other rules are highlighted/reported by the SonarLint plugin as expected.

Anybody available, who can have a look on this issue?

Hello Jochen,

Sorry for the late answer. The java:S1228 Packages should have a javadoc file 'package-info.java' rule as you can notice on SonarQube is raised at the project level and not on a specific file. SonarLint does not support project-level issues at the moment. While there is no short-term plan to look into this, we take good note of your feedback and we will keep track of it.

Thanks for your message