lintersdb

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: GPL-3.0 Imports: 8 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) GetLinterConfig added in v1.10.2

func (m Manager) GetLinterConfig(name string) *linter.Config

func (Manager) GetMetaLinter added in v1.13.1

func (m Manager) GetMetaLinter(name string) linter.MetaLinter

func (Manager) GetMetaLinters added in v1.13.1

func (Manager) GetMetaLinters() map[string]linter.MetaLinter

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