@notastudio/commitlint-config

0.0.9 • Public • Published

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

Package Sidebar

Install

npm i @notastudio/commitlint-config

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

2.44 kB

Total Files

7

Last publish

Collaborators

  • ganlub
  • nyenye
  • toubes