I am following the Conventional Commits guidelines v1.0.0 for my project and I have a question about including the issue code in the commit message header. Let's say I have an issue with code "SPAN-500". Although the specification does not mention issue codes explicitly, I have seen online both:
- Issue code as scope
feat(SPAN-500): add feat X to improve Y
- Issue code as suffix
feat: add feat X to improve Y [#SPAN-500]
How should I properly add the issue code to the commit message header?
I want to ensure that my commit messages follow the recommended conventions and maintain consistency. Any guidance or examples would be greatly appreciated.
Thank you!