@growsuper/commitlint-config

1.2.0 • Public • Published

@growsuper/commitlint-config

Grow Super's commitlint configuration, following our git standards.

This config should be used with Husky already installed, make sure to set that up first.

Set up and usage

1. Install dependencies

yarn add -D @growsuper/commitlint-config @commitlint/{config-conventional,cli}

2. Create a commitlint.config.js file in the root of your project and paste the following:

module.exports = {
  extends: ['@growsuper/commitlint-config'],
};

3. Add the following to package.json:

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

That's it ✨

Package Sidebar

Install

npm i @growsuper/commitlint-config

Weekly Downloads

422

Version

1.2.0

License

UNLICENSED

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • growsuper