@commitlint/prompt

19.8.1 • Public • Published

@commitlint/prompt

commitizen adapter using commitlint.config.js

This is the library and commitizen adapter version of commitlint prompt. A ready-to-use cli version is available at @commitlint/prompt-cli. Learn how to use it in this guide.

Getting started

npm install --save-dev @commitlint/prompt @commitlint/config-conventional commitizen
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js

In package.json

{
  "scripts": {
    "commit": "git-cz"
  },
  "config": {
    "commitizen": {
      "path": "@commitlint/prompt"
    }
  }
}
git add .
npm run commit

/@commitlint/prompt/

    Package Sidebar

    Install

    npm i @commitlint/prompt

    Weekly Downloads

    126,053

    Version

    19.8.1

    License

    MIT

    Unpacked Size

    46.8 kB

    Total Files

    47

    Last publish

    Collaborators

    • marionebl
    • martinhelmut
    • escapedcat
    • bycedric