jshint

package
v0.0.0-...-2435b8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL