Skip to content

Initialize in Your Repository

In your project directory, run:

Terminal window
commitlint install

This command adds commitlint to your repository by installing necessary hooks and configuration to lint commit messages before they are created or pushed.