This repo contains configurations for Renovate. These settings are set to my liking and may change at any time, so I don't recommend using them on your own projects. That said, feel free to use this as a reference if you're trying to configure Renovate yourself.
Use this config for JS/TS applications.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>bachman-dev/renovate-config"]
}Use this config with JS/TS libraries.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>bachman-dev/renovate-config:jslib"]
}Oxlint uses oxlint-tsgolint when it's configured to do type-aware linting. This config establishes a Custom Manager that keeps a repository's TypeScript version matched to the current oxlint-tsgolint version, as their versions are derived from their supported TS version + a small patch incrament (e.g. a version for TypeScript 7.0.2 may look like 7.0.2001).
For projects that are using oxlint-tsgolint, extend the oxlint-tsgolint config in addition to the default or jslib config.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>bachman-dev/renovate-config", "github>bachman-dev/renovate-config:oxlint-tsgolint"]
}Note
In the near future, when we are able to fully support TypeScript 7+, extending this config will become part of the normal copy-paste items instead of its own section, as only legacy projects should opt to not use this config.
We use mise-en-place for tool and environment management. Create a mise.local.toml in the project's directory, set a RENOVATE_TOKEN with the correct permissions as described in the Renovate docs, and use the test commands to evaluate changes -- either test:local for package rule evaluations, or test:gitHub for PR and other GitHub specific integration.
mise installpnpm test:localpnpm test:githubThere are also individual local tests for each config in case only one needs to be run.