Exported rules do not come as an error

I am using SonarQube 8.5.1.

I am configuring the same in my VS 2019, but I realized that of all the configured rules, none appears as “Error” in the ruleset file.

Blockers, Criticals and Majors appear as “Warning”.

Is it possible to change this without having to reference a file manually in the project?

Hey there.

All-in-all, these really are warnings (your code doesn’t fail to compile even in the face of a high-severity issue). You would need to override the configuration to treat some rules as Errors if that’s your end-goal.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.