Skip to content

Commit 559f5f8

Browse files
committed
WIP
Signed-off-by: Joseph Kato <joseph@jdkato.io>
1 parent 8771c11 commit 559f5f8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

internal/core/alert.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ type Action struct {
1818

1919
// An Alert represents a potential error in prose.
2020
type Alert struct {
21-
Action Action // a possible solution
22-
Span []int // the [begin, end] location within a line
23-
Offset []string `json:"-"` // tokens to ignore before this match
24-
Check string // the name of the check
25-
Description string // why `Message` is meaningful
26-
Link string // reference material
27-
Message string // the output message
28-
Severity string // 'suggestion', 'warning', or 'error'
29-
Match string // the actual matched text
21+
Action Action // a possible solution
22+
Span []int // the [begin, end] location within a line
23+
Offset []string `json:"-"` // tokens to ignore before this match
24+
Check string // the name of the check
25+
Description string // why `Message` is meaningful
26+
Link string // reference material
27+
Message string // the output message
28+
Severity string // 'suggestion', 'warning', or 'error'
29+
Match string // the actual matched text
3030
Line int // the source line
3131
Limit int `json:"-"` // the max times to report
3232
Hide bool `json:"-"` // should we hide this alert?

0 commit comments

Comments
 (0)