From 2f3c63f812cd0f3dda532773826b4bb4382289d4 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 13 Dec 2019 10:45:47 +0100 Subject: [PATCH] docs: remove legacy packageFiles mentions Closes https://github.com/renovatebot/docs.renovatebot.com/issues/5 --- docs/usage/configuration-options.md | 2 +- docs/usage/faq.md | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index 34640c50aa..dcb43e9249 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -685,7 +685,7 @@ Note how the above uses `packageNames` instead of `packagePatterns` because it i The above rule will group together the `neutrino` package and any package matching `@neutrino/*`. -Path rules are convenient to use if you wish to apply configuration rules to certain package files without needing to configure them all in the `packageFiles` array. For example, if you have an `examples` directory and you want all updates to those examples to use the `chore` prefix instead of `fix`, then you could add this configuration: +Path rules are convenient to use if you wish to apply configuration rules to certain package files using patterns. For example, if you have an `examples` directory and you want all updates to those examples to use the `chore` prefix instead of `fix`, then you could add this configuration: ```json "packageRules": [ diff --git a/docs/usage/faq.md b/docs/usage/faq.md index eb200302fe..4f8fae84ab 100644 --- a/docs/usage/faq.md +++ b/docs/usage/faq.md @@ -92,15 +92,6 @@ To restrict `aws-sdk` to only weekly updates, you could add this package rule: Note that schedule must be in the form of an array, even if only one schedule is present. Multiple entries in the array means "or". -### Selectively enable or disable renovate for specific `package.json` files - -You could: - -- Use `ignorePaths` to ignore certain paths in the repository, or -- Explicitly list every package file you want renovated, in the `packageFiles` configuration object, or -- Add a `renovate` section to any `package.json` files you don't want renovated, - with the configuration option `"enabled": false` - ### Disable renovate for certain dependency types Define a packageRules entry which has the dependency type(s) in `depTypeList` and `"enabled": false`. -- GitLab