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

Function GetFormatter

registry/registry.go:35–37  ·  view source on GitHub ↗

GetFormatter returns the Formatter registered under name, and whether it was found.

(name string)

Source from the content-addressed store, hash-verified

33
34// GetFormatter returns the Formatter registered under name, and whether it was found.
35func GetFormatter(name string) (lint.Formatter, bool) {
36 return globalRegistry.GetFormatter(name)
37}
38
39// Rules returns all registered rules.
40func Rules() []lint.Rule {

Callers 2

GetFormatterFunction · 0.92
ValidateFunction · 0.92

Calls 1

GetFormatterMethod · 0.80

Tested by

no test coverage detected