Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSHintAnalyzer ¶
type JSHintAnalyzer struct{}
JSHintAnalyzer is a wrapper around a the jshint command line tool. This assumes it runs in a location where jshint is on the path. It can run on JS and HTML files. Right now, it just puts the file contents into stdin and uses no configuration
func (*JSHintAnalyzer) Analyze ¶
func (jsa *JSHintAnalyzer) Analyze(ctx *ctxpb.ShipshapeContext) ([]*notepb.Note, error)
func (JSHintAnalyzer) Category ¶
func (JSHintAnalyzer) Category() string
Click to show internal directories.
Click to hide internal directories.