Custom Quality Profiles in SonarQube

https://medium.com/ltunes/custom-quality-profiles-in-sonarqube-part-1-8754348b9369

Creating Custom Quality Profile in SonarQube

Firstly, you may ask why we need a custom profile. Well there are some rules we, as developers, want to ignore but seeing these rules in the list doesn’t make us happy or even opposite, we want add a rule which does not exist in default rules. Let’s click Quality Profiles tab, go to the Java section, copy Sonar way profile and rename this Custom Quality Profile. You can either assign this profile to an existing project or even declare it as default for all projects.

从sonar way中删除rule

有32个rule被激活,545个未激活的。

点击数字32,在新打开的页面就可以禁用rule

原文地址:https://www.cnblogs.com/chucklu/p/10677489.html