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

Function DefaultTypeEnums

config/default.go:48–53  ·  view source on GitHub ↗

DefaultTypeEnums returns the default list of type enums

()

Source from the content-addressed store, hash-verified

46
47// DefaultTypeEnums returns the default list of type enums
48func DefaultTypeEnums() []interface{} {
49 return []interface{}{
50 "feat", "fix", "docs", "style", "refactor", "perf",
51 "test", "build", "ci", "chore", "revert",
52 }
53}
54
55// NewDefault returns default config
56func NewDefault() *lint.Config {

Callers 1

NewDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected