Skip to content

Latest commit

 

History

History

commitlint-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@bna/commitlint-config

Reference: https://www.conventionalcommits.org/en/v1.0.0/

How to use

// package.json
{
  "commitlint": {
    "extends": [
      "@bna/commitlint-config"
    ]
  }
}

// For monorepo
{
  "commitlint": {
    "extends": [
      "@bna/commitlint-config/lerna"
    ]
  }
}

Commit Message Type

Must be one of the following:

  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests