Skip to content

Commit 4b96118

Browse files
committed
Make rule level name text all caps
The rule level is an important component of the output because it provides the significance of the rule result. The previous all lower case text of the rule level names in the output made it not very visually prominent.
1 parent a58dfe9 commit 4b96118

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

internal/rule/rulelevel/rulelevel.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ type Type int
3232

3333
// The line comments set the string for each level.
3434
const (
35-
Info Type = iota // info
36-
Warning // warning
37-
Error // error
38-
Notice // notice
35+
Info Type = iota // INFO
36+
Warning // WARNING
37+
Error // ERROR
38+
Notice // NOTICE
3939
)
4040

4141
// RuleLevel determines the rule level assigned to the given result of the given rule under the current tool configuration.

internal/rule/rulelevel/type_string.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)