lint

package
Version: v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadContext

func LoadContext(linters []linter.Config, cfg *config.Config, log logutils.Log) (*linter.Context, error)

Types

type Runner added in v1.7.1

type Runner struct {
	Processors []processors.Processor
	Log        logutils.Log
}

func NewRunner added in v1.7.1

func NewRunner(astCache *astcache.Cache, cfg *config.Config, log logutils.Log) (*Runner, error)

func (Runner) Run added in v1.7.1

func (r Runner) Run(ctx context.Context, linters []linter.Config, lintCtx *linter.Context) <-chan result.Issue

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL