@@ -18,15 +18,15 @@ type Action struct {
1818
1919// An Alert represents a potential error in prose.
2020type 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