Skip to content

Commit 5166cf2

Browse files
committed
chore(renovate): automerge oxlint & types
Also validate renovate.json configuration before committing
1 parent 7628a9a commit 5166cf2

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.lintstagedrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"prettier --check",
44
"oxlint --deny-warnings"
55
],
6-
"**/*.{md,json}": "prettier --check"
6+
"**/*.{md,json}": "prettier --check",
7+
"renovate.json": "pnpm --package=renovate dlx renovate-config-validator --strict"
78
}

renovate.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended"]
3+
"extends": ["config:recommended"],
4+
"packageRules": [
5+
{
6+
"extends": ["monorepo:oxlint"],
7+
"matchUpdateTypes": ["minor", "patch"],
8+
"automerge": true
9+
},
10+
{
11+
"matchPackageNames": ["@types/*"],
12+
"matchUpdateTypes": ["minor", "patch"],
13+
"automerge": true
14+
}
15+
]
416
}

0 commit comments

Comments
 (0)