Skip to content

Latest commit

 

History

History
109 lines (66 loc) · 3.01 KB

README.md

File metadata and controls

109 lines (66 loc) · 3.01 KB

commitlint-config-traverson

shareable config for commitlint

Node CI Workflow Status SLSA Level 2

Purpose

This is a shareable config for commitlint, which helps us ensure our commits are compatible with semantic-release.

This config extends commitlint-config-travi.

Usage

npm MIT license

Installation

$ npm install commitlint-config-traverson --save-dev

Define the config for your project

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

Define the husky hook

(in a .huskyrc.json, for example)

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

Contributing

Conventional Commits Commitizen friendly semantic-release PRs Welcome Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test