# Ruining the concept of customised but inheriting rulesets

**URL:** <https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427>\
**Category:** Suggest new features\
**Created:** [July 11, 2023, 2:23am UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427 "2023-07-11T02:23:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smileBeda](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/smilebeda/32/22959_2.png) [@smileBeda](https://community.sonarsource.com/u/smileBeda)\
**Post date:** [July 11, 2023, 2:23am UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427/1 "2023-07-11T02:23:58Z")

</div>

- ALM used: GitHub
- Languages of the repository: PHP
- Only if the SonarCloud project is public, the URL: any!
- Error observed: Cannot customise most rules, _and_ cannot remove most rules, if inheriting, _and_ must have to stop inheriting, if I want to remove/change those rules

## Steps to reproduce:

As several users pointed out already ([Deactivated rules in child quality profiles are not ignored](https://community.sonarsource.com/t/deactivated-rules-in-child-quality-profiles-are-not-ignored/59183), [Deactivate on Extended Profiles](https://community.sonarsource.com/t/deactivate-on-extended-profiles/54878), etc)

1. Create a quality profile, inheriting from a Sonar Way
2. Try to deactivate some rules (for example the outdated and a11y unfriendly “replace all tabs with spaces”), and find that you can NOT disable NOR customise it

## Suggested solution by SC:

- stop inheriting and create your own standalone Quality Profile

==\> The entire point of _inheriting_ and then _customizing_ a ruleset is that we want to have the updates and quite good (unless some) ruleset of Sonar way, _while_ being able to customize certain rules, or disabling certain rules, that just do not fit the specific project or company definitions

## Better solution

Allow users to _customize_ an inherited rule!

## Why

If we create a copy of the original, then our copy is “dead”: does not get updates anymore, for _any_ rule.  
This makes it a huge work to keep it updated. It destroys the concept of “create a custom ruleset by inheriting from a parent”  
There is not much customisation in that, if we are not allowed to… customise it!

The particular rule mentioned (to use tabs over spaces) is just one example, but a good one, because apart of not being customisable, it is also not a11y friendly at all: `space space space space` versus `tab` when using accessibility tools, is just cumbersome. And while back when this PSR rule was implemented that might have been no concern, _it is nowadays: there are many people coding that are visually impaired for example_

---

<div class="post-metadata">

**Author:** ![Tom\_Howlett](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tom_howlett/32/22183_2.png) [@Tom\_Howlett](https://community.sonarsource.com/u/Tom_Howlett)\
**Post date:** [August 1, 2023, 2:36pm UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427/2 "2023-08-01T14:36:11Z")

</div>

Hi Beda

Thanks for sharing your frustration with this limitation, it’s not the first time I’ve heard it. I’ll raise it with some of the other Product Managers to see if we can find a way forward.

I’ll update this thread with any updates.

Tom

---

<div class="post-metadata">

**Author:** ![Tom\_Howlett](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tom_howlett/32/22183_2.png) [@Tom\_Howlett](https://community.sonarsource.com/u/Tom_Howlett)\
**Post date:** [August 14, 2023, 12:20pm UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427/5 "2023-08-14T12:20:10Z")

</div>

Hello again Beda (and anybody else with this issue)

If you would like to see the ability to deactivate rules in an extended Quality Profile, please can you provide your feedback [here](https://portal.productboard.com/sonarsource/1-sonarcloud/c/494-deactivate-rules-in-an-extended-quality-profile).

Thanks

Tom

---

<div class="post-metadata">

**Author:** ![smileBeda](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/smilebeda/32/22959_2.png) [@smileBeda](https://community.sonarsource.com/u/smileBeda)\
**Post date:** [August 14, 2023, 12:36pm UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427/6 "2023-08-14T12:36:05Z")

</div>

Done so, but where can I check my feedback actually was received? After having to confirm the email in the last step, it did let me resend the feedback _again_… which is weird

Thanks.

UPDATE:  
ignore. I saw the feedback is logged. Thanks  
I do hope that everyone who reported this and/or voiced it will vote too!!!

---

<div class="post-metadata">

**Author:** ![Tom\_Howlett](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tom_howlett/32/22183_2.png) [@Tom\_Howlett](https://community.sonarsource.com/u/Tom_Howlett)\
**Post date:** [August 14, 2023, 1:39pm UTC](https://community.sonarsource.com/t/ruining-the-concept-of-customised-but-inheriting-rulesets/95427/7 "2023-08-14T13:39:09Z")

</div>

Hi Beda

As things progress, we’ll update the card that you added your feedback to and you should get notified.

Thanks

Tom
