@sheba/commitlint

Commitlint following https://github.com/ShafiqIslam/dotfiles/blob/master/git/.gitmessage.

Usage no npm install needed!

<script type="module">
  import shebaCommitlint from 'https://cdn.skypack.dev/@sheba/commitlint';
</script>

README

commitlint

Lint commit message to suit my taste.

Install

npm install @sheba/commitlint

Usage

With husky, in your runcom .huskyrc or .huskyrc.js:

{
  "hooks": {
    ...
    "commit-msg": "node node_modules/@sheba/commitlint/index.js -E $HUSKY_GIT_PARAMS",
    ...
  }
}