From a78a22a47afdf2598b1b827ddcd816c7f8c5bfac Mon Sep 17 00:00:00 2001 From: RahulGautamSingh <rahultesnik@gmail.com> Date: Wed, 4 Sep 2024 08:51:51 +0530 Subject: [PATCH] docs: remove exclude matcher mentions (#31191) --- docs/usage/configuration-options.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index a353d52dad..631d546f32 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 } ] -- GitLab