common

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompositeLinter

func NewCompositeLinter(name string, linters ...api.Linter) mllint.ConfigurableLinterWithRunner

Types

type CompositeLinter

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

func (*CompositeLinter) Configure

func (l *CompositeLinter) Configure(conf *config.Config) error

func (*CompositeLinter) LintProject

func (l *CompositeLinter) LintProject(project api.Project) (api.Report, error)

func (*CompositeLinter) Name

func (l *CompositeLinter) Name() string

func (*CompositeLinter) Rules

func (l *CompositeLinter) Rules() []*api.Rule

func (*CompositeLinter) SetRunner

func (l *CompositeLinter) SetRunner(r mllint.Runner)

Jump to

Keyboard shortcuts

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