Skip to content

chore: allow 'design' commit scope#1604

Merged
Israeltheminer merged 2 commits into
mainfrom
chore/commitlint-design-scope
Apr 22, 2026
Merged

chore: allow 'design' commit scope#1604
Israeltheminer merged 2 commits into
mainfrom
chore/commitlint-design-scope

Conversation

@Israeltheminer
Copy link
Copy Markdown
Collaborator

@Israeltheminer Israeltheminer commented Apr 22, 2026

Summary

Adds design to the commitlint scope-enum so design-focused commits (e.g. b042771 feat(design): account, 2FA, governance, and logs pages) no longer need to reach for a generic scope.

Split out of #1603 per CodeRabbit feedback — that PR's commits don't use the new scope, so it didn't belong there.

Test plan

  • echo "feat(design): test" | bunx commitlint exits 0 on this branch

Summary by CodeRabbit

  • Chores
    • Updated development configuration to support additional commit message scope conventions.

Adds 'design' to the commitlint scope-enum so design-focused PRs (e.g. b042771 on main) no longer need to use a generic scope.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 22, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: de670af3-73d9-44b2-a329-cb019a132c34

📥 Commits

Reviewing files that changed from the base of the PR and between f6abf5f and 6ea5c4d.

📒 Files selected for processing (1)
  • commitlint.config.mjs

📝 Walkthrough

Walkthrough

A single line was added to the commitlint.config.mjs file, adding 'design' to the allowed values for the scope-enum rule. This expands the set of valid commit scopes recognized by commitlint validation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and clearly describes the main change: adding 'design' as an allowed commit scope in the commitlint configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/commitlint-design-scope

Comment @coderabbitai help to get the list of available commands and usage tips.

@Israeltheminer Israeltheminer merged commit 56842cd into main Apr 22, 2026
2 checks passed
@Israeltheminer Israeltheminer deleted the chore/commitlint-design-scope branch April 22, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant