Commitlint is a tool that lints your commit messages and makes sure they follow a set of rules. It runs as a husky pre-commit hook, that is, it runs before the code is committed and blocks the commit in case it fails the lint checks. We are going to see how we can set up commitlint in a simple JavaScript project.
Table of contents
What is Commitlint?How to Create Custom commitlint RulesHow to Use Commitlint with GitHub ActionsWhat's next?24 Comments
Sort: