Skip to content

therealklanni/commitlint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commitlint-config

A commitlint config that extends @commitlint/config-conventional. Additionally enforces a body line length max of 72 characters.

Usage

npm install --save-dev husky @commitlint/{config-conventional,cli} @therealklanni/commitlint-config

In your commitlint.config.js update the extends field:

module.exports = {
  extends: ['@therealklanni']
}

In your package.json add your husky hook:

{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }  
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published