Uh oh!
There was an error while loading. Please reload this page.
chore: add pre-commit hook for conventional commit verification - #619
Conversation
jamadeo
left a comment
There was a problem hiding this comment.
Nice, yes this will improve things.
Looks like CI calls npx commitlint -- should this do the same?
alexhancock
commented
Jan 14, 2026
@jamadeo I tried a version that does that but if we want to do local packages it would require adding There is maybe a version of that approach which just uses |
97524af to
f4ea885Comparealexhancock
commented
Jan 14, 2026
@jamadeo Came up with a better version which uses commitlint if node is available, and falls back to a more basic implementation if not. |
Uh oh!
There was an error while loading. Please reload this page.
Automatically verify commits follow the https://www.conventionalcommits.org/en/v1.0.0/ format.
We get a lot of PRs with commits that do not follow the format, and it creates unnecessary cycles during code review. This PR installs a pre-commit hook on the first
cargo buildand then uses it when you commit.Example: