Configure Renovate (#53)

* Add renovate.json

* Update renovate.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Lautzenheiser <lautzd@gmail.com>
This commit is contained in:
renovate[bot] 2022-12-01 13:41:02 -05:00 committed by GitHub
parent efff723c69
commit 0994288424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

48
renovate.json Normal file
View File

@ -0,0 +1,48 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"labels": ["dependencies"],
"packageRules": [
{
"matchPackagePrefixes": [
"lint-staged",
"@types/eslint",
"@typescript-eslint/",
"eslint"
],
"labels": ["linting", "automerge"],
"automerge": true
},
{
"matchDepTypes": ["devDependencies"],
"addLabels": ["dev dependencies"]
},
{
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor"],
"addLabels": ["automerge"],
"automerge": true
},
{
"matchUpdateTypes": ["patch"],
"addLabels": ["patch", "automerge"],
"automerge": true
},
{
"matchUpdateTypes": ["minor"],
"addLabels": ["minor"]
},
{
"matchUpdateTypes": ["major"],
"addLabels": ["major"]
},
{
"matchPackagePrefixes": ["@types/react", "react"],
"addLabels": ["react"]
},
{
"matchPackagePrefixes": ["@types/jest", "jest"],
"addLabels": ["testing"]
}
]
}