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
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.
Click to show internal directories.
Click to hide internal directories.