MCPcopy Create free account
hub / github.com/conventionalcommit/commitlint / Formatters

Method Formatters

registry/registry.go:174–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (reg *registry) Formatters() []lint.Formatter {
175 reg.mut.Lock()
176 defer reg.mut.Unlock()
177
178 allFormats := make([]lint.Formatter, 0, len(reg.allFormatters))
179 for _, f := range reg.allFormatters {
180 allFormats = append(allFormats, f)
181 }
182 return allFormats
183}
184
185func (reg *registry) Rules() []lint.Rule {
186 reg.mut.Lock()

Callers 1

FormattersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected