@nice-move/commitlint-config

0.10.1 • Public • Published

@nice-move/commitlint-config commitlint

A commitlint config created by personal preferences.

npm github node

Installation

npm install commitlint @nice-move/commitlint-config --save-dev

Usage

// example: package.json
{
  "commitlint": {
    "extends": "@nice-move/commitlint-config"
  }
}
echo "foo" | commitlint

Using by git hooks

#!/bin/sh

npx --no-install commitlint -e

# save this to: .githooks/commit-msg
git config core.hooksPath .githooks
git commit -m "foo"

Tips

This config includes @commitlint/config-conventional, but case checking is disabled.

Package Sidebar

Install

npm i @nice-move/commitlint-config

Weekly Downloads

7

Version

0.10.1

License

MIT

Unpacked Size

4.01 kB

Total Files

4

Last publish

Collaborators

  • airkro