Tuesday, May 5, 2020

How to Deactivate a Rule in SonarQube | Deactivate a rule in Sonarqube community edition

How to deactivate a rule in SonarQube Ruleset in Sonarqube 7.7 version. You can not deactivate a rule in built-in profile. You need to have your own profile by copying from built-in profile and then you can activate/deactive/customize rules at will.



Create a custom profile by copying from built-in profile


Give some name

 Once you created click on Total rules 379 under Active

Now you can deactivate rule in SonarQube



Once you created custom profile, make sure you associate profile with your project or set as default.

No comments:

Post a Comment