For JavaScript there are ‘Sonar way’ and ‘Sonar way recommended (deprecated)’ quality profiles. If a rule exists only in the deprecated profile, can I assume that there is an equivalent rule in the ‘sonar way’ profile that replaces it?
Hi,
Do you mean that the rule doesn’t show up in the Sonar way profile?
The thing is, it’s the “Sonar way recommended” profile that’s deprecated, not the rules in it. So if there’s a rule you like in the ‘recommended’ profile, and the rule itself is not deprecated, there’s no reason not to add that rule to your custom profile.
HTH,
Ann
That’s correct, it’s not in the ‘Sonar way’ profile. So, I was wondering if in the ‘deprecated’ profile but not in the ‘Sonar way’ profile if there was another rule in the ‘Sonar way’ that would do the same kind of thing
Hi,
There’s no need for another rule. The rule isn’t (necessarily) deprecated. Use the rule you like from the deprecated profile.
HTH,
Ann
Ok, that make sense. Thank you.