Long name of rule: Statements should be on separate lines
However, my code is clearly the same as the excluded example:
See:
Cannot reproduce this with SonarLint (VSCode).
SonarQube Server Version 8.9.9 (build 56886)
Long name of rule: Statements should be on separate lines
However, my code is clearly the same as the excluded example:
See:
Cannot reproduce this with SonarLint (VSCode).
SonarQube Server Version 8.9.9 (build 56886)
Hello @KUGA2,
Thank you for the report!
Indeed, this is a false positive. We have already fixed it in SonarQube version 9.5 (see the corresponding ticket).
And that is why it does not appear in SonarLint, as it has a more recent version.
Have a nice day
Amélie
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.