linter

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LintApk added in v0.5.1

func LintApk(ctx context.Context, path string, warn func(error), linters []string) error

Types

type LinterContext

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

func NewLinterContext

func NewLinterContext(name string, fsys fs.FS) LinterContext

func (LinterContext) LintPackageFs

func (lctx LinterContext) LintPackageFs(fsys fs.FS, warn func(error), linters []string) error

Jump to

Keyboard shortcuts

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