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

Method Severity

lint/result.go:45–45  ·  view source on GitHub ↗

Severity returns severity of the Rule Failure

()

Source from the content-addressed store, hash-verified

43
44// Severity returns severity of the Rule Failure
45func (r *Issue) Severity() Severity { return r.severity }
46
47// Description returns description of the issue
48func (r *Issue) Description() string { return r.description }

Callers 8

TestLint_ValidCommitsFunction · 0.80
TestLint_RuleViolationsFunction · 0.80
hasErrorSeverityFunction · 0.80
bySeverityMethod · 0.80
formatIssueMethod · 0.80

Calls

no outgoing calls

Tested by 5

TestLint_ValidCommitsFunction · 0.64
TestLint_RuleViolationsFunction · 0.64