From 4664658df53022c6c1953edada56436e26beedb7 Mon Sep 17 00:00:00 2001 From: "Sullivan S." Date: Thu, 14 May 2026 14:46:15 +0200 Subject: [PATCH] feat(presets): stylelint packages group Stylelint come with two official config packages maintained separately. However, some major release of one of the config packages require the latest major release of the stylelint tool and vice versa. On that case, Renovate will propose separated update merge requests that will never be solvable because of dependencies conflict during npm install. Also, as stylelint is not a mono-repo and use a completly different releases history from its related config package, we MUST ensure major/minor separation is deactivated to get the group process working correctly. --- lib/config/presets/internal/group.preset.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/config/presets/internal/group.preset.ts b/lib/config/presets/internal/group.preset.ts index 751011b4dc1..23e2e49343a 100644 --- a/lib/config/presets/internal/group.preset.ts +++ b/lib/config/presets/internal/group.preset.ts @@ -811,6 +811,17 @@ const staticGroups = { }, ], }, + stylelint: { + description: 'Group stylelint packages together.', + packageRules: [ + { + extends: ['packages:stylelint'], + groupName: 'stylelint packages', + groupSlug: 'stylelint', + separateMajorMinor: false, + }, + ], + }, symfony: { description: 'Group PHP Symfony packages together.', packageRules: [