Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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.
40
func
Rules() []lint.Rule {
41
return
globalRegistry.Rules()
42
}
43
44
// Formatters returns all registered formatters.
45
func
Formatters() []lint.Formatter {
Callers
3
TestDefaultSettings
Function · 0.92
TestDefaultRulesNoDuplicates
Function · 0.85
TestRegisterCustomRule
Function · 0.85
Calls
1
Rules
Method · 0.80
Tested by
3
TestDefaultSettings
Function · 0.74
TestDefaultRulesNoDuplicates
Function · 0.68
TestRegisterCustomRule
Function · 0.68