lint

package
v0.0.0-...-77fc450 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProhibitedMatter []Matter `yaml:"prohibited-matter"`
}

func LoadConfig

func LoadConfig(r io.Reader) (Config, error)

type Matter

type Matter struct {
	Target []string            `yaml:"target"`
	Import []string            `yaml:"import"`
	Ref    map[string][]string `yaml:"ref"`
	Write  []string            `yaml:"write"`
}

type Trifle

type Trifle struct {
	Position token.Position
	Text     string
}

func Run

func Run(conf Config, target string, includeTest bool) ([]*Trifle, error)

Jump to

Keyboard shortcuts

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