DEV Community

Discussion on: Any rules, tips and tricks for commit message

Collapse
 
tonydiaz profile image
Tony Diaz • Edited

My project enforces the structure of the commit message using githooks. The packages we use to enforce the commit message are validate-commit-msg (npmjs.com/package/validate-commit-msg) along with husky (npmjs.com/package/husky)

It follows the Angular's commit message convention since validate-commit-msg was developed by some of their contributors.


<type>(<scope>): <subject>