Sonar way recommended quality profiles

quality-profiles

(Hilal Emeksiz) #1

Hello,
sonarqube version 7.0 community, when I examine quality profiles I noticed " Sonar way recommended" other than “Sonar way” why there are 2 , which one should I set as default?
Being compared , recommended one includes more rules.

Thank You


(G Ann Campbell) #2

Hi,

You’re going to see one of those per language that SonarSource supports. By default, they will already be the defaults for their languages.

 
HTH,
Ann


(G Ann Campbell) #4

Hi again,

It has been pointed out to me that in my haste to respond I overlooked the key point of your OP. Why for JavaScript are there two:

  • Sonar way
  • Sonar way Recommended

Consider the former a minimum. The latter is the one that’s really… well, recommended.

 
Ann


(Elena Vilchik) #5

Check this out https://github.com/SonarSource/SonarJS/blob/master/docs/DOC.md#rule-profile