@notastudio/commitlint-config

Not a Studio's Commitlint shared config.

Usage no npm install needed!

<script type="module">
  import notastudioCommitlintConfig from 'https://cdn.skypack.dev/@notastudio/commitlint-config';
</script>

README

commitlint-config

Not a Studio's Commitlint shared config.

Usage

Install the package by running:

yarn add -D @notastudio/commitlint-config

Then add the extends to your commitlint.config.js:

module.exports = {
  extends: ['@notastudio'],
  rules: {
    // your overrides
  }
};

Finally, add the following git hook at your package.json:

{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}

You can test the hook by simply committing.

License

MIT