MCPcopy Index your code
hub / github.com/conventionalcommit/commitlint / removeLint

Function removeLint

internal/cmd/remove.go:11–13  ·  view source on GitHub ↗

removeLint is the callback function for the uninstall command.

(isGlobal bool)

Source from the content-addressed store, hash-verified

9
10// removeLint is the callback function for the uninstall command.
11func removeLint(isGlobal bool) error {
12 return gitRemoveHook(isGlobal)
13}
14
15// gitRemoveHook removes commitlint from git config by unsetting core.hooksPath.
16// It prompts for confirmation before making any changes.

Callers 1

newRemoveCmdFunction · 0.85

Calls 1

gitRemoveHookFunction · 0.85

Tested by

no test coverage detected