Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I edit some rules in SonarQube?

Tags:

sonarqube

I wish to change the rule 'Left curly braces should be located at the end of lines of code' since we are using a different convention.

Thanks in advance!

like image 890
yoyo Avatar asked May 28 '14 09:05

yoyo


1 Answers

As Sonarqube intends to provide the least possible configuration possible on rules: you should deactivate the rule with key squid:LeftCurlyBraceEndLineCheck and I am guessing that you want to activate the rule : squid:LeftCurlyBraceStartLineCheck

Please note that those rules have nothing to do with Checkstyle.

like image 135
benzonico Avatar answered Sep 21 '22 15:09

benzonico