-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Feature
Copy link
Labels
core:configRelated to config capabilities and presetsRelated to config capabilities and presetspriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others
Description
Describe the proposed change(s).
Enhance this source file: https://github.com/renovatebot/renovate/blob/main/lib/config/options/index.ts
Right now we have some options with "parent" defined (such as packageRules>matchPackageNames
) but it's not enough info to generate the JSON schema accurately when options such as enabled
can be at root or within packageRules
, or options such as configMigration
must be at the root of config.
It's even more complicated when you consider that we support some dynamic config options such as minor
, or manager names such as gomod
.
We should brainstorm about all the possible objects which config can be in (root, hostRules, packageRules, managers, etc) and then define the syntax. Perhaps parent
should just be an array instead of single string.
Metadata
Metadata
Assignees
Labels
core:configRelated to config capabilities and presetsRelated to config capabilities and presetspriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersDefault priority, "should be done" but isn't prioritised ahead of others