linter

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() bool

Types

type Linter

type Linter struct {
	SpecsDir string `arg:"positional" help:"path to spin cycle requests directory [default: current working dir]"`

	Strict   bool `arg:"-s, --strict" help:"make all warnings into errors [default: false]"`
	Warnings bool `help:"turn warnings on or off"`
	Color    bool `help:"turn color on or off"`

	Sequences string `help:"comma-separated list of sequences for which to output info; sequence must exist in specs [default: all]"`
	// contains filtered or unexported fields
}

Note that go-arg help message will show defaults if the default is not false.

func (*Linter) Version added in v2.0.4

func (linter *Linter) Version() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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