Skip to content

Commit

Permalink
renovate.json: group packages which contain the name of a js/html/etc…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
BacLuc committed Apr 17, 2022
1 parent fe897d2 commit 3f731dd
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 3f731dd

Please sign in to comment.