@benestudioco/commitlint-config

1.0.0 • Public • Published

commitlint-config-benestudio

Shareable commitlint config enforcing Bene Studio commits

Getting started

npm install --save-dev @benestudioco/commitlint-config @commitlint/cli husky
echo "module.exports = {extends: ['@benestudioco/commitlint-config']};" > .commitlintrc.js

Create a husky configuration file with the following commit-msg line:

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

Project specific configuration

Add an issue prefix according to your JIRA project in the following settings to your config file:

parserPreset: {
    parserOpts: {
        issuePrefixes: ['PROJ-']
    }
}

License

Copylefted (c) 2019 Bene Studio Licensed under the MIT license.

Package Sidebar

Install

npm i @benestudioco/commitlint-config

Weekly Downloads

21

Version

1.0.0

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • admin.benestudio
  • gabor_paholics_benestudio