Skip to content

chore(lint): disable subject-case rule to allow acronyms - #44

Merged
wz-gsa merged 1 commit into
mainfrom
chore/update-commitlint-sentence-case
May 27, 2026
Merged

wz-gsa merged 1 commit into
mainfrom
chore/update-commitlint-sentence-case

Conversation

@wz-gsa

@wz-gsa wz-gsa commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Disables the subject-case rule in commitlint configuration to allow acronyms like CLI, API, SQL in commit message subjects.

Problem

PR #42 is blocked because its title docs: restructure quickstart with sbx CLI as primary path fails commitlint validation:

✖   subject must be lower-case [subject-case]

Solution

The subject-case rule is set to level 0 (disabled). The Conventional Commits specification only mandates lowercase for the type field (e.g., feat, fix), not the subject line.

Testing

Verified locally that these now pass:

  • docs: restructure quickstart with sbx CLI as primary path ✅
  • docs: add documentation ✅
  • feat: Add API integration ✅

Consensus

This approach was reviewed by a 3-agent consensus vote (architect, security, scope-steward) with 100% approval in Session 12.

Checklist

  • Pre-commit hooks pass (gitleaks clean)
  • Follows Conventional Commits format
  • Tested locally with commitlint

Related

The subject-case rule was blocking valid commit messages containing
acronyms like CLI, API, SQL. The Conventional Commits specification
only mandates lowercase for the type field, not the subject.

- Disable subject-case enforcement (set to level 0)
- Document rationale in config comments
- Unblocks PR #42 which uses 'sbx CLI' in the title

Closes #43

Co-authored-by: OpenCode Agent <[email protected]>
@wz-gsa
wz-gsa requested a review from a team as a code owner May 27, 2026 18:00
@wz-gsa
wz-gsa merged commit af7dccf into main May 27, 2026
1 check passed
@wz-gsa
wz-gsa deleted the chore/update-commitlint-sentence-case branch May 27, 2026 19:10
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.

chore: update commitlint subject-case rule to allow sentence-case

2 participants