@benestudioco/commitlint-config

Shareable commitlint config enforcing Bene Studio commits

Usage no npm install needed!

<script type="module">
  import benestudiocoCommitlintConfig from 'https://cdn.skypack.dev/@benestudioco/commitlint-config';
</script>

README

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.