webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
23 stars 3 forks source link

Implement Git Convention Linter (Conventional Commits) #120

Closed joshsedl closed 1 year ago

joshsedl commented 1 year ago

Find the best way to enforce the usage of conventional commits!

A possibility might be using Husky to hook into git and apply the Commit Lint. But there are further tools which make more sense here. Checkout https://www.conventionalcommits.org/en/about/ and find the right tool for this.

(https://github.com/conventional-commits/php-commitizen might also be a good approach)

JPustkuchen commented 1 year ago

We shouldn't force this, better opt into, I think. What's @thomasfrobieter's oppinion?

Still I like the style, but not the right place and project for such heavy enforcements, I think.

joshsedl commented 1 year ago

I agree! Let's close this issue here, but keep in mind, that this exists! Definitely usable for other Projects!

Note, that if we use it, we should either enforce it, granting us the ability to auto generate the Changelog for a release, without missing any important features! 😄