8000 build: lint commit messages with commitlint by morellodev · Pull Request #319 · awesome-reveal/awesome-reveal · GitHub
[go: up one dir, main page]

Skip to content

build: lint commit messages with commitlint - #319

Merged
morellodev merged 1 commit into
nextfrom
build/commit-msg-hook
Oct 17, 2026
Merged

morellodev merged 1 commit into
nextfrom
build/commit-msg-hook

Conversation

@morellodev
Copy link
Copy Markdown
Collaborator

Summary

A commit-msg hook runs commitlint with @commitlint/config-conventional. release-please writes the changelog from the commit messages, so a wrong type or a missing ! now fails at the commit, not at the release.

The config turns off body-max-line-length and footer-max-line-length, because a BREAKING CHANGE: footer is one long paragraph. Of the last 100 commits on next, only #279 fails, because its header has more than 100 characters.

Checklist

  • The PR targets the next branch.
  • The PR title follows Conventional Commits. A breaking change has ! and a BREAKING CHANGE: footer.
  • Tests cover the change. I checked the hook by hand: it rejects bad: test and accepts feat!: x with a BREAKING CHANGE: footer.
  • A change to an option, a default or an export also updates the READMEs, the consumer skills and the examples. This does not apply, because the change is build tooling only.

@morellodev
morellodev merged commit 8b917a7 into next Oct 17, 2026
18 checks passed
@morellodev
morellodev deleted the build/commit-msg-hook branch October 17, 2026 13:05
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

0