Skip to content

benestudio/commitlint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Commitlint config enforcing Bene Studio commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published