diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index a353d52dad591b4e7e76087b8abbc075c5b86d24..631d546f3270e109ba87193649a90b4ca5e4e6f0 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -2417,7 +2417,7 @@ The matching process for a package rule: - Combining multiple matchers will restrict the resulting matches (they're AND-ed together): `matchCurrentVersion`, `matchCurrentValue`, `matchNewValue`, `matchConfidence`, `matchCurrentAge`, `matchManagers`, `matchDatasources`, `matchCategories`, `matchDepTypes`, `matchUpdateTypes`, - `matchRepositories`/`excludeRepositories`, `matchBaseBranches`, `matchFileNames` + `matchRepositories`, `matchBaseBranches`, `matchFileNames` Here is an example if you want to group together all packages starting with `eslint` into a single branch/PR: @@ -2593,7 +2593,7 @@ Use this field to restrict rules to a particular branch. e.g. "packageRules": [ { "matchBaseBranches": ["main"], - "excludePackagePatterns": ["^eslint"], + "matchPackagePatterns": ["!/^eslint/"], "enabled": false } ] @@ -2607,7 +2607,7 @@ This field also supports Regular Expressions if they begin and end with `/`. e.g "packageRules": [ { "matchBaseBranches": ["/^release/.*/"], - "excludePackagePatterns": ["^eslint"], + "matchPackagePatterns": ["!/^eslint/"], "enabled": false } ]