Config options
Generated from the JSON Schema, which is generated from the validation code, so this page always matches what the config loader accepts. Every option is optional.
template
Handlebars template of the commit message. Available: `type`, `emoji`, `code`, `component`, `scope` (the component in parentheses), `bang` (`!` for breaking changes), `title`, `description`, `comment`, `breaking`, `issues`, `issuePrefix` and `issueFooter` (one `<issuePrefix> <issue>` line per issue).
headerMaxLength
Maximum length of the first line. The title counter accounts for the type, scope and emoji.
bodyLineLength
Wrap body lines at this width; `0` turns wrapping off. Footer lines are never wrapped.
lowercaseTitle
Lower-case the first letter of the title and drop a trailing period, as commitlint expects.
inferFromBranch
In a terminal, suggest the type and the issue from the branch name, e.g. `feat/PROJ-12-login`.
useCommitlint
Take `scopes` and the length limits from the commitlint config when this config does not set them.
availableCommitTypes
Built-in commit types to offer; all of them when empty. Custom types are always offered.
availablePromptQuestions
Questions to ask, at least `type` and `title`. They are always asked in the built-in order.