1.0.1 • Published 1 year ago

@jneander/commitlint-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@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.