How can we ignore some SonarQube rules in Java? -
we started using sonarqube. have found rules suggested sonarqube want ignore them or give them low priority , configure time suggested sonarqube. e.g
we want avoid rule (and/or configure priority , time suggested sonarqube) for
- document public class. and
- complete task associated todo comment.
i couldn’t find way configure rules ignored. want kind of rules ignored whole project not specific classes.
configuring values have better time estimation fix major issues , give low priority rules above two. using sonarqube 6
i appericiate advice.
as noted in comments, have remove rules profile or edit them lower priority. need global administer quality profiles permission that. once you're logged in permission, go rules interface, search rule want deactivate, select rule, click on it, , deactivate relevant profile.
Comments
Post a Comment