relizy / installCommitMsgHook
Function: installCommitMsgHook()
installCommitMsgHook(
__namedParameters):InstalledHook
Defined in: src/core/commitlint/git.ts:192
Write the commit-msg hook running relizy commitlint: in .husky/ when husky is set up, otherwise in the hooks directory of git. An existing hook is only replaced with force.
Parameters
__namedParameters
cwd
string
force?
boolean = false