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

Function Rules

registry/registry.go:40–42  ·  view source on GitHub ↗

Rules returns all registered rules.

()

Source from the content-addressed store, hash-verified

38
39// Rules returns all registered rules.
40func Rules() []lint.Rule {
41 return globalRegistry.Rules()
42}
43
44// Formatters returns all registered formatters.
45func Formatters() []lint.Formatter {

Callers 3

TestDefaultSettingsFunction · 0.92
TestRegisterCustomRuleFunction · 0.85

Calls 1

RulesMethod · 0.80

Tested by 3

TestDefaultSettingsFunction · 0.74
TestRegisterCustomRuleFunction · 0.68