Skip to content

Commit 2125ddd

Browse files
committed
Fix single page config
1 parent b5d864c commit 2125ddd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/configuration/rules.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,22 @@ weight:
2525

2626
Define package-specific configuration rules that override the default settings.
2727

28+
> This option is currently in **beta**. This means its options are considered stable (no backwards incompatible changes will be added), but that there are some stability and usability improvements expected.
29+
2830
## Explanation
2931

3032
The `rules` option allows you to apply different configuration settings to different groups of packages. This is useful when you want to handle certain packages differently from your default configuration. For example, you might want to apply security-only updates to development tools while allowing all updates for production dependencies.
3133

3234
Rules are evaluated in order, and when a package matches a rule, the configuration from that rule is merged with your default configuration.
3335

36+
### Comparison with bundled_packages
37+
38+
If you want to group packages together in a more flexible pattern than using [bundled_packages](/configuration/bundled_packages), then `rules` is for you. The main differences are:
39+
40+
- [bundled_packages](/configuration/bundled_packages) will only update its bundled packages if the "parent" package has an update, while rules can update the group if any of the packages has an update.
41+
- Rules make it possible to have different configurations per group. For example, you can automerge one group but not others.
42+
- Rules support pattern matching with wildcards and negation, making them much more flexible.
43+
3444
## Structure
3545

3646
Rules is an array of rule objects. Each rule object has the following structure:

0 commit comments

Comments
 (0)