Sonar way recommended quality profiles

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

1 Like

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

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

1 Like

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

1 Like

Hi,
I am also curious when it comes to the Sonar Way and Sonar Way Recommended in the JavaScript Quality profiles: having SonarQube Version 8.9.0.43852, I see huge differences in numbers of rules used: in vulnerabilities there is just one rule active. How are these recommendations created? What is the reason for excluding or including rule into reccomendation? Thank you:).