Skip to content

traverson/commitlint-config-traverson

Folders and files

NameName
Last commit message
Last commit date
Dec 18, 2023
Jan 23, 2022
Jul 28, 2018
Jul 26, 2018
Jul 26, 2018
Jul 26, 2018
Jul 26, 2018
Oct 24, 2023
May 9, 2021
Jul 26, 2018
Sep 13, 2023
Jan 23, 2022
Jan 25, 2024
Jan 25, 2024

Repository files navigation

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