commitlint-config-travi

shareable config for commitlint


License
MIT
Install
npm install commitlint-config-travi@1.3.4

Documentation

shareable config for commitlint

Node CI Workflow Status

Commitizen friendly semantic-release Renovate

Purpose

This is my shareable config for commitlint. My config mostly follows angular commit convention, as implemented in the "soft fork" as @commitlint/config-conventional.

Beyond what is implemented in the @commitlint/config-conventional, I also enable a type of wip for commits that don't fit the default types. This is most often because the does not complete one of default types, but is instead progress toward one.

Usage

license npm

Installation

$ npm install commitlint-config-travi -D

Define the config for your project

$ echo "module.exports = {extends: ['travi']};" > .commitlintrc.js

Define the husky hook

(in a .huskyrc.json, for example)

{
  "hooks": {
    "commit-msg": "commitlint -e"
  }
}