1.1.0 • Published 3 years ago

@growsuper/commitlint-config v1.1.0

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
3 years ago

@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 ✨

1.1.0

3 years ago

1.0.0

3 years ago