@miovision/commitlint-config
Getting Started
npm i -D @miovision/commitlint-config @commitlint/cli husky
echo "module.exports = {extends: ['@miovision/commitlint-conconfig'], plugins: ['@commitlint-plugin-jira-rules']};" > commitlint.config.js
Note: @commitlint-plugin-jira-rules must be included in the root commitlint.config.js to setup the rules otherwise commitlint will reject the JIRA rules as invalid.
Rules
The following rules have been overiden from their defaults:
jira-task-id-max-length
- condition: The JIRA issue id has a max-length of 12 characters
- rule: 'always'
- value: 12
Defaults
All other rules adhere to the default configurations: