Documentation ¶
Index ¶
- type AnalyzerPlugin
- type EnabledSet
- type Manager
- func (Manager) AllPresets() []string
- func (m Manager) GetAllEnabledByDefaultLinters() []*linter.Config
- func (m Manager) GetAllLinterConfigsForPreset(p string) []*linter.Config
- func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config
- func (m Manager) GetLinterConfigs(name string) []*linter.Config
- func (m *Manager) WithCustomLinters() *Manager
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzerPlugin ¶
type EnabledSet ¶
type EnabledSet struct {
// contains filtered or unexported fields
}
func NewEnabledSet ¶
func (EnabledSet) GetEnabledLintersMap ¶
func (es EnabledSet) GetEnabledLintersMap() (map[string]*linter.Config, error)
func (EnabledSet) GetOptimizedLinters ¶
func (es EnabledSet) GetOptimizedLinters() ([]*linter.Config, error)
GetOptimizedLinters returns enabled linters after optimization (merging) of multiple linters into a fewer number of linters. E.g. some go/analysis linters can be optimized into one metalinter for data reuse and speed up.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (Manager) AllPresets ¶
func (Manager) GetAllEnabledByDefaultLinters ¶
func (Manager) GetAllLinterConfigsForPreset ¶
func (Manager) GetAllSupportedLinterConfigs ¶
func (*Manager) WithCustomLinters ¶
Click to show internal directories.
Click to hide internal directories.