Hi. I’m new to SonarQube and hoping someone can give me some guidance on this…
We’re using the Sonar Way profiles for all languages but occasionally have to disable 2 or 3 rules temporarily. Currently I’m copying the existing profile then deactivating those rules. However this is getting a little frustrating because I have to check for changes to the Sonar Way profiles after updates and manually sync them to the copied profile.
I’m assuming extending instead of copying would solve that problem but then the rule deactivation buttons are greyed out and I see “This rule is inherited and cannot be deactivated.”
I’m not sure what the logic is behind this? I’d have thought extending a profile in order to deactivate a couple of rules while keeping all other changes in sync with the parent would be a common use case. Is there any other way I can achieve this?