Skip to content
Snippets Groups Projects
Unverified Commit 4c8cd7d7 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: improve ignorePaths config option documentation (#11838)


Co-authored-by: default avatarRhys Arkins <rhys@arkins.net>
parent b350a8c5
No related branches found
No related tags found
No related merge requests found
...@@ -1078,8 +1078,18 @@ The above is the same as if you wrote this package rule: ...@@ -1078,8 +1078,18 @@ The above is the same as if you wrote this package rule:
## ignorePaths ## ignorePaths
Using this setting, you can selectively ignore package files that you don't want Renovate autodiscovering. Renovate will extract dependencies from every file it finds in a repository, unless that file is explicitly ignored.
For instance if your repository has an "examples" directory of many package.json files that you don't want to be kept up to date. With this setting you can selectively ignore package files that would normally be "autodiscovered" and updated by Renovate.
For instance if you have a project with an `"examples/"` directory you wish to ignore:
```json
{
"ignorePaths": ["**/examples/**"]
}
```
Useful to know: Renovate's default ignore is `node_modules` and `bower_components` only, however if you are extending the popular `config:base` preset then it adds ignore patterns for `vendor`, `examples`, `test(s)` and `fixtures` directories too.
## ignorePrAuthor ## ignorePrAuthor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment