relizy / CommitlintOptions
Interface: CommitlintOptions
Defined in: src/commands/commitlint.ts:28
Properties
config?
optionalconfig?:ResolvedRelizyConfig
Defined in: src/commands/commitlint.ts:69
Pre-loaded config
configName?
optionalconfigName?:string
Defined in: src/commands/commitlint.ts:66
Custom config file name (e.g. relizy.standalone for relizy.standalone.config.ts)
edit?
optionaledit?:string|boolean
Defined in: src/commands/commitlint.ts:33
Lint the message of the commit being created: the file given to the commit-msg hook, or .git/COMMIT_EDITMSG when true.
force?
optionalforce?:boolean
Defined in: src/commands/commitlint.ts:64
Replace an existing commit-msg hook with install
format?
optionalformat?:"json"|"text"
Defined in: src/commands/commitlint.ts:58
text for people (colors in a terminal or a CI), json for programs and AI agents
Default
'text'from?
optionalfrom?:string
Defined in: src/commands/commitlint.ts:40
Lint the commits after this ref. Defaults to the merge-base with the target branch of the pull/merge request in CI, otherwise the last tag.
install?
optionalinstall?:boolean
Defined in: src/commands/commitlint.ts:62
Write the commit-msg hook instead of linting
logLevel?
optionallogLevel?:"error"|"silent"|"warning"|"normal"|"default"|"debug"|"trace"|"verbose"
Defined in: src/commands/commitlint.ts:67
message?
optionalmessage?:string
Defined in: src/commands/commitlint.ts:35
Lint this message
preview?
optionalpreview?:boolean
Defined in: src/commands/commitlint.ts:53
Print the changelog entry of each commit
quiet?
optionalquiet?:boolean
Defined in: src/commands/commitlint.ts:60
In the text format, only print the commits with problems, and the summary
title?
optionaltitle?:boolean
Defined in: src/commands/commitlint.ts:51
In the CI of a pull/merge request, also lint its title, which becomes the commit message of a squash merge
Default
config.commitlint.titleto?
optionalto?:string
Defined in: src/commands/commitlint.ts:45
Last commit of the range
Default
'HEAD'