linter

package
v0.23.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Ignore the linter (default)
	Ignore defaultBehavior = iota
	// Require the linter.
	Require
	// Warn about the linter.
	Warn
)

Variables

View Source
var PkgconfDirRegex = regexp.MustCompile("^usr/(lib|share)/pkgconfig/")

Functions

func DefaultRequiredLinters added in v0.10.0

func DefaultRequiredLinters() []string

func DefaultWarnLinters added in v0.10.0

func DefaultWarnLinters() []string

func LintAPK added in v0.10.0

func LintAPK(ctx context.Context, path string, require, warn []string) error

Lint the given APK at the given path

func LintBuild added in v0.5.2

func LintBuild(ctx context.Context, cfg *config.Configuration, packageName string, path string, require, warn []string) error

Lint the given build directory at the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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