Offer a way to handle conflicting options #12915
Labels
topic: config
related to config handling, argument parsing and config file
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
What's the problem this feature will solve?
When a user installs multiple plugins it is often the case that there are conflicting options. Currently there is no way to handle those conflicts but to uninstall one of the conflicting plugins. Also when adding custom options the user is forced to rename the option.
Describe the solution you'd like
There should be a way to either define a resolution for a conflict or to remove one of the conflicting options.
For example in the following case I remove a conflicting option from the playwright plugin before I add my own:
Alternatively there could be a function handling conflicts, a crude approach would look like this
The text was updated successfully, but these errors were encountered: