default
constdefault:object
Defined in: index.ts:6
Type Declaration
Section titled “Type Declaration”extends
Section titled “extends”extends:
string[]
Extends the Conventional Commits rule set from @commitlint/config-conventional.
ignores
Section titled “ignores”ignores: ((
message) =>boolean)[]
Commit messages commitlint skips entirely: dependency bump commits such as chore(deps): Bump ....
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”boolean
rules:
object
Rule overrides applied on top of the extended Conventional Commits rules.
rules.body-max-line-length
Section titled “rules.body-max-line-length”body-max-line-length: [
0,"always",number]
Turned off (level 0): trailers are parsed as body text when there is no body paragraph, which gives false positives.
rules.footer-max-line-length
Section titled “rules.footer-max-line-length”footer-max-line-length: [
0]
Turned off (level 0): the Signed-off-by: trailer sits in the footer and would otherwise trip the line-length check.