0.1.0 • Published 2 years ago

@totejs/commitlint-config v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@totejs/commitlint-config

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

Install

yarn add @totejs/commitlint-config -D

How to use

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

// For rush monorepo
{
  "commitlint": {
    "extends": [
      "@totejs/commitlint-config/rush"
    ]
  }
}

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