I would like to have a rule which allows verifying a certain format of the first lines of the commit message. In the projects I am working we, for example, want to ensure that each commit message starts with the issue key the commit is related to, eg:
I would like to do something like (using regexps):
Looking at the current rules they are all static. What would be your idea around configurable rules?