0.0.6 • Published 5 years ago

@miovision/commitlint-config v0.0.6

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

@miovision/commitlint-config

GitHub

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: