Skip to content

Commit 6a36229

Browse files
authored
Merge pull request #133 from arduino/per1234/rule-level-caps
Make rule level name text all caps
2 parents a58dfe9 + 4b96118 commit 6a36229

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)