Skip to content

Commit cfa8780

Browse files
committed
update prettier deps in pre-commit with renovate
1 parent da5d225 commit cfa8780

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/renovate/default.json5

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,20 @@
4747
schedule: ["before 9am on Monday"],
4848
matchPackageNames: ["/renovate-config-validator/"],
4949
},
50+
{
51+
matchManagers: ["custom.regex"],
52+
matchFileNames: [".pre-commit-config.yaml"],
53+
groupName: "pre-commit npm dependencies",
54+
groupSlug: "pre-commit-npm",
55+
},
56+
],
57+
customManagers: [
58+
{
59+
customType: "regex",
60+
managerFilePatterns: ["/.pre-commit-config.yaml$/"],
61+
matchStrings: ["- (?<depName>[^@\\s]+)@(?<currentValue>[^\\s#]+)"],
62+
datasourceTemplate: "npm",
63+
versioningTemplate: "npm",
64+
},
5065
],
5166
}

0 commit comments

Comments
 (0)