conform
conform copied to clipboard
Allow for fixup! commits
When using conventional commits, allow the use of fixup! <sha>
or fixup! <header>
syntax, which are both recognized by git rebase --autosquash
later on.
Agreed, fixup!
and squash!
prefixes should be ignored as those mechanisms are part of the base features Git offers.
@blaggacao I did'n try this, but I think this could be solved by a setting in the .conform.yaml, just adding allowed types:
conventional:
types: ["fixup!,"wip", "chore","docs","perf","refactor","style","test","release"]
That's a good idea, however we eneded up wrapping with a regex condition.
That gives more flexibility to the actual header and thereby less restriction to the end use: https://github.com/divnix/std/commit/2f047e0707ef15e89582d51e46dec796b582a520
Any way that works is the right way! :) Sidenote, I really like this tool, but would love to see more documentation, and more responses to the issues from the maintainer.