lint

package
v1.509.25 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LINT_REPORT_GROUP = "rules_lint_report"
	LINT_PATCH_GROUP  = "rules_lint_patch"
	LINT_RESULT_REGEX = ".*aspect_rules_lint.*"
)

Align with rules_lint

Variables

This section is empty.

Functions

func AddFlags added in v1.509.24

func AddFlags(flags *pflag.FlagSet)

Types

type LintBEPHandler added in v1.508.20

type LintBEPHandler struct {
	ioutils.Streams
	// contains filtered or unexported fields
}

func (*LintBEPHandler) BEPEventCallback added in v1.508.20

func (runner *LintBEPHandler) BEPEventCallback(event *buildeventstream.BuildEvent) error

type Linter

type Linter struct {
	ioutils.Streams
	// contains filtered or unexported fields
}

func New

func New(
	streams ioutils.Streams,
	bzl bazel.Bazel,
) *Linter

func (*Linter) Run

func (runner *Linter) Run(ctx context.Context, cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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