Documentation
¶
Overview ¶
Package rulelevel defines the level assigned to a rule violation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type int
Type is the type for the rule levels.
The line comments set the string for each level.
func FailRuleLevel ¶
func FailRuleLevel(ruleConfiguration ruleconfiguration.Type, configurationRuleModes map[rulemode.Type]bool) (Type, error)
FailRuleLevel determines the level of a failed rule for the given rule modes.
func RuleLevel ¶
func RuleLevel(ruleConfiguration ruleconfiguration.Type, ruleResult ruleresult.Type, lintedProject project.Type) (Type, error)
RuleLevel determines the rule level assigned to the given result of the given rule under the current tool configuration.
Click to show internal directories.
Click to hide internal directories.