From 3f731dd9359c777f3940e2c2e0a21d6f3ae0e77c Mon Sep 17 00:00:00 2001 From: BacLuc Date: Sun, 27 Feb 2022 22:33:42 +0100 Subject: [PATCH] renovate.json: group packages which contain the name of a js/html/etc linter Exclude packages which only start the lint process like "@vue/cli-plugin-eslint", "lint-staged" Regex was tested here: https://regex101.com/r/rGeHCu/1 --- renovate.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/renovate.json b/renovate.json index 718b8ce2b6..7dd5164a0a 100644 --- a/renovate.json +++ b/renovate.json @@ -35,11 +35,15 @@ "automerge": false }, { - "matchPackageNames": [ - "eslint", - "lint", - "stylelint", - "prettier" + "matchPackagePatterns": [ + "^(@.*\\/|(.*-)?)eslint(-.*)?$", + "^(@.*\\/|(.*-)?)lint(-.*)?$", + "^(@.*\\/|(.*-)?)stylelint(-.*)?$", + "^(@.*\\/|(.*-)?)prettier(-.*)?$" + ], + "excludePackageNames": [ + "@vue/cli-plugin-eslint", + "lint-staged" ], "groupName": "js-linter" },