Thursday, 10 September 2020

How to Deactivate a Rule in SonarQube

 

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.

Go to Quality Profiles---select a Profile---eg java

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

TASK C: Bare-Metal Deployment (Nginx on EC2) — Step-by-Step Guide

Overview In this task, you will deploy the HealthPulse Portal the  traditional way  — static files served directly by Nginx on an EC2 instan...