lintersdb

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: GPL-3.0 Imports: 9 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnabledSet added in v1.10.2

type EnabledSet struct {
	// contains filtered or unexported fields
}

func NewEnabledSet added in v1.10.2

func NewEnabledSet(m *Manager, v *Validator, log logutils.Log, cfg *config.Config) *EnabledSet

func (EnabledSet) Get added in v1.10.2

func (es EnabledSet) Get(optimize bool) ([]*linter.Config, error)

type Manager added in v1.10.2

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager added in v1.10.2

func NewManager(cfg *config.Config) *Manager

func (Manager) AllPresets added in v1.10.2

func (Manager) AllPresets() []string

func (Manager) GetAllEnabledByDefaultLinters added in v1.10.2

func (m Manager) GetAllEnabledByDefaultLinters() []*linter.Config

func (Manager) GetAllLinterConfigsForPreset added in v1.10.2

func (m Manager) GetAllLinterConfigsForPreset(p string) []*linter.Config

func (Manager) GetAllSupportedLinterConfigs added in v1.10.2

func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config

func (Manager) GetLinterConfigs added in v1.20.0

func (m Manager) GetLinterConfigs(name string) []*linter.Config

type Validator added in v1.10.2

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator added in v1.10.2

func NewValidator(m *Manager) *Validator

Jump to

Keyboard shortcuts

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