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

Method Rules

registry/registry.go:185–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183}
184
185func (reg *registry) Rules() []lint.Rule {
186 reg.mut.Lock()
187 defer reg.mut.Unlock()
188
189 allRules := make([]lint.Rule, 0, len(reg.allRules))
190 for _, r := range reg.allRules {
191 allRules = append(allRules, r)
192 }
193 return allRules
194}

Callers 1

RulesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected