Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

commitlint-config-travi

travi3.8kMIT1.4.57

shareable config for commitlint

readme

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"
  }
}