1.0.0 • Published 6 years ago

@benestudioco/commitlint-config v1.0.0

Weekly downloads
4
License
MIT
Repository
bitbucket
Last release
6 years ago

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.

1.0.0

6 years ago