@jneander/commitlint-config

1.0.1 • Public • Published

@jneander/commitlint-config

Shareable commitlint configuration for consistent commits across repositories.

Installation

npm install @commitlint/cli @jneander/commitlint-config --save-dev

Usage

Add this to your package.json:

// package.json
{
  "scripts": {
    "lint:commits": "commitlint --from origin/main --to HEAD"
  },
  "commitlint": {
    "extends": "@jneander/commitlint-config"
  }
}

Now when you run npm run lint:commits commitlint will lint your recent commits.

Readme

Keywords

none

Package Sidebar

Install

npm i @jneander/commitlint-config

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.72 kB

Total Files

4

Last publish

Collaborators

  • jneander