False Negative S00113 "Files should contain an empty newline at the end"

  • versions used: SonarQube 8.2, gradleSonarqubePluginVersion=2.8
  • error observed Since upgrade to SonarQube 8, “Files should contain an empty newline at the end” not being picked up both for new files and existing files.

#bug:fp sub-category for rules-related behaviour

Hi,

Welcome to the community!

What language are we talking about?

 
Ann

Forgot to mention: Java.

Thanks!

Hello @scao,

The only change that we did in for this rule recently is to change the key from S00113 to S113.
Even though we did our best to make this change invisible for users, I suspect something misbehaved there.

What was the version from which you upgraded?
Can you check that this rule is still enabled in your project?

It was from 7 I think.

The rule is enabled, at least it’s part of our quality profile

It seems that you continued the investigation there:

Let’s try to finish the discussion in the other post, and come back to this problem later if it’s not already solved in the other one.