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

Struct SeverityConfig

lint/config.go:10–13  ·  view source on GitHub ↗

SeverityConfig represent severity levels for rules

Source from the content-addressed store, hash-verified

8
9// SeverityConfig represent severity levels for rules
10type SeverityConfig struct {
11 Default Severity `yaml:"default"`
12 Rules map[string]Severity `yaml:"rules"`
13}
14
15// Config represent linter config
16type Config struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected