linters

package
v0.0.0-...-88c7ecd Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Imports

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

func NewImports

func NewImports() *Imports

func (*Imports) Information

func (o *Imports) Information() arch.Linter

func (*Imports) IsSuitable

func (o *Imports) IsSuitable(_ *lintContextReadOnly) bool

func (*Imports) Lint

func (o *Imports) Lint(lCtx *lintContext) error

type Orphans

type Orphans struct {
}

func NewOrphans

func NewOrphans() *Orphans

func (*Orphans) Information

func (o *Orphans) Information() arch.Linter

func (*Orphans) IsSuitable

func (o *Orphans) IsSuitable(_ *lintContextReadOnly) bool

func (*Orphans) Lint

func (o *Orphans) Lint(lCtx *lintContext) error

type Root

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

func NewRoot

func NewRoot(renderer renderer, linters ...linter) *Root

func (*Root) Lint

func (l *Root) Lint(spec arch.Spec, options models.LintOptions) ([]arch.LinterResult, error)

type Syntax

type Syntax struct {
}

func NewSyntax

func NewSyntax() *Syntax

func (*Syntax) Information

func (o *Syntax) Information() arch.Linter

func (*Syntax) IsSuitable

func (o *Syntax) IsSuitable(lCtx *lintContextReadOnly) bool

func (*Syntax) Lint

func (o *Syntax) Lint(lCtx *lintContext) error

Jump to

Keyboard shortcuts

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