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

Function configCheck

internal/cmd/config.go:49–55  ·  view source on GitHub ↗

configCheck is the callback function for check/verify command

(confPath string)

Source from the content-addressed store, hash-verified

47
48// configCheck is the callback function for check/verify command
49func configCheck(confPath string) []error {
50 conf, err := config.Parse(confPath)
51 if err != nil {
52 return []error{err}
53 }
54 return config.Validate(conf)
55}

Callers 1

newConfigCmdFunction · 0.85

Calls 2

ParseFunction · 0.92
ValidateFunction · 0.92

Tested by

no test coverage detected