Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion commitlint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
* Enforced locally via lefthook `commit-msg` and on PRs via
* .github/workflows/commitlint.yml.
*
* Allowed types (extend `scope-enum` when new workspace packages land):
* Allowed types (extend `scope-enum` when new workspace packages land or
* Dependabot starts grouping under a new scope):
* feat, fix, chore, docs, refactor, perf, test, build, ci, style, revert, release
*
* Bot scopes: Dependabot uses `deps` for production-dep bumps,
* `deps-dev` for devDependency-only bumps, and `github_actions` for
* GitHub Actions bumps. All three are enumerated so the auto-generated
* PRs pass commitlint without manual rewrites.
*/
export default {
extends: ["@commitlint/config-conventional"],
Expand Down Expand Up @@ -50,6 +56,12 @@ export default {
"wiki",
"plugin",
"deps",
// Dependabot emits `deps-dev` for devDependency-only updates and
// `github_actions` for GitHub Actions bumps. Including both here
// lets commitlint pass on the auto-generated PRs without manual
// rewrites. See `.github/dependabot.yml` for the group config.
"deps-dev",
"github_actions",
"ci",
"docs",
"repo",
Expand Down
Loading