You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched through all the other issues with inherit_mode and while there's a lot of discussion, I think they talk about changing defaults or how the inheritance is applied. I'm talking about allowing inherit_mode in a new place to achieve something different.
Is your feature request related to a problem? Please describe.
inherit_mode can be specified for the entire config, as well as specific cops, but it cannot be specified by AllCops.
The main difference is that I only want to affect AllCops:Exclude. We don't want to change the inherit_mode for individual cops.
Describe the solution you'd like
Allowing the following example would exclude everything in Airbnb's AllCops:Exclude as well as the local AllCops:Exclude
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
I searched through all the other issues with
inherit_mode
and while there's a lot of discussion, I think they talk about changing defaults or how the inheritance is applied. I'm talking about allowinginherit_mode
in a new place to achieve something different.Is your feature request related to a problem? Please describe.
inherit_mode
can be specified for the entire config, as well as specific cops, but it cannot be specified byAllCops
.The main difference is that I only want to affect AllCops:Exclude. We don't want to change the
inherit_mode
for individual cops.Describe the solution you'd like
Allowing the following example would exclude everything in Airbnb's AllCops:Exclude as well as the local AllCops:Exclude
Describe alternatives you've considered
My current solution is to change the
inherit_mode
for the entire config file, but that also changes how each individual cop inherits.Another option is to just copy whatever is in Airbnb's and add it to mine.
The text was updated successfully, but these errors were encountered: