relizy / resolveDefaultRangeStart
Function: resolveDefaultRangeStart()
resolveDefaultRangeStart(
__namedParameters):Promise<DefaultRangeStart>
Defined in: src/core/commitlint/git.ts:157
Start of the commits to lint when --from is not given: the merge-base with the target branch of the pull/merge request in GitHub Actions and GitLab CI, otherwise the last tag, otherwise the whole history.
Parameters
__namedParameters
cwd
string
logLevel?
"error" | "silent" | "warning" | "normal" | "default" | "debug" | "trace" | "verbose"
Returns
Promise<DefaultRangeStart>