linter

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 23 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

This section is empty.

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, outputDir string) error

Lint the given APK at the given path If outputDir is provided, lint results will be saved to JSON files

func LintBuild added in v0.5.2

func LintBuild(ctx context.Context, cfg *config.Configuration, packageName string, require, warn []string, fsys apkofs.FullFS, outputDir, arch string) error

Lint the given build directory at the given path Lint results will be stored as JSON in the packages directory

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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