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

Method Name

lint/formatter/json.go:15–15  ·  view source on GitHub ↗

Name returns name of formatter

()

Source from the content-addressed store, hash-verified

13
14// Name returns name of formatter
15func (f *JSONFormatter) Name() string { return "json" }
16
17// Format formats the lint.Result
18func (f *JSONFormatter) Format(result *lint.Result) (string, error) {

Callers 1

TestJSONFormatter_NameFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestJSONFormatter_NameFunction · 0.76