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

Struct Linter

lint/linter.go:13–19  ·  view source on GitHub ↗

Linter is linter for commit message

Source from the content-addressed store, hash-verified

11
12// Linter is linter for commit message
13type Linter struct {
14 conf *Config
15 rules []Rule
16 parser commit.Parser
17
18 ignorePatterns []*regexp.Regexp
19}
20
21// New returns a new Linter instance with given config and rules using the
22// default inspection parser.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected