Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeAlertAnalyzer ¶
type CodeAlertAnalyzer struct { }
func (CodeAlertAnalyzer) Analyze ¶
func (a CodeAlertAnalyzer) Analyze(ctx *ctxpb.ShipshapeContext) ([]*notepb.Note, error)
TODO(emso): Use file filter in code alert
func (CodeAlertAnalyzer) Category ¶
func (CodeAlertAnalyzer) Category() string
func (CodeAlertAnalyzer) FindMatches ¶
func (a CodeAlertAnalyzer) FindMatches(content string) []*notepb.Note
FindMatches returns an array of notes for each match in content.
Click to show internal directories.
Click to hide internal directories.