Updated: Lefthook package renamed from @arkweid/lefthook to @evilmartians/lefthook. Updated to v1.1.1.
Updated: prefix-with-jira-ticket.php lefthook script for better ticket matching and added tests.
QA
After a lefthook install -a, commits to a branch with a ticket in it, e.g. feature/JIRA-123/cool-thing will continue to prefix the commit with the ticket, e.g. [JIRA-123]: my commit message.
Tests
Does this have tests?
[x] Yes
[ ] No, this doesn't need tests because...
[ ] No, I need help figuring out how to write the tests.
What does this do/fix?
prefix-with-jira-ticket.php
lefthook script for better ticket matching and added tests.QA
After a
lefthook install -a
, commits to a branch with a ticket in it, e.g.feature/JIRA-123/cool-thing
will continue to prefix the commit with the ticket, e.g.[JIRA-123]: my commit message
.Tests
Does this have tests?