Skip to content

Latest commit

 

History

History
executable file
·
29 lines (22 loc) · 686 Bytes

File metadata and controls

executable file
·
29 lines (22 loc) · 686 Bytes

Shared commitlint config npm version

Shareable commitlint config enforcing conventional commits.

Usage

npm install --save-dev husky @commitlint/cli @merkle-open/commitlint-conventional-changelog

package.json

  ...
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
	},
	...
  },
  "commitlint": {
    "extends": [
      "@merkle-open/commitlint-conventional-changelog"
    ]
  },
  ...

License

MIT License