Skip to content

tooling: Enforce commitlint scope-enum as error.#235

Merged
nedseb merged 2 commits intomainfrom
tooling/commitlint-scope-error
Mar 25, 2026
Merged

tooling: Enforce commitlint scope-enum as error.#235
nedseb merged 2 commits intomainfrom
tooling/commitlint-scope-error

Conversation

@nedseb
Copy link
Copy Markdown
Contributor

@nedseb nedseb commented Mar 25, 2026

Summary

  • Upgrade scope-enum rule from severity 1 (warning) to severity 2 (error)
  • Invalid scopes now block commits instead of just warning

Closes #232

Copilot AI review requested due to automatic review settings March 25, 2026 08:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s commit message linting to strictly enforce allowed commit scopes, aligning with Issue #232’s goal of moving from gradual adoption to enforcement.

Changes:

  • Change commitlint rule scope-enum severity from warning (1) to error (2) so invalid scopes block commits.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nedseb nedseb merged commit f7b5944 into main Mar 25, 2026
3 checks passed
@nedseb nedseb deleted the tooling/commitlint-scope-error branch March 25, 2026 08:55
@semantic-release-updater
Copy link
Copy Markdown

🎉 This PR is included in version 0.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tooling: Enforce commitlint scope-enum as error (severity 2).

2 participants