@thingbound/commitlint-config

1.0.0 • Public • Published

@thingbound/commitlint-config

Configuration for Commitlint for projects in the @thingbound organization.

Follows Conventional Commits more or less exactly.

When using this config all commits will be on the form:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Using in projects

This config is used together with Commitlint as a Husky hook.

Install as dev dependencies:

$ npm install --save-dev @commitlint/cli husky @thingbound/commitlint-config

Create a file named commitlint.config.js and define that it to extend this configuration:

module.exports = {
  extends: [
    '@thingbound'
  ]
};

Then in package.json enable commitlint via Husky:

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

Readme

Keywords

none

Package Sidebar

Install

npm i @thingbound/commitlint-config

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

2.23 kB

Total Files

5

Last publish

Collaborators

  • aholstenson