commitlint-config-travi

1.4.50 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i commitlint-config-travi

Weekly Downloads

1,684

Version

1.4.50

License

MIT

Unpacked Size

9.9 kB

Total Files

17

Last publish

Collaborators

  • travi