lint

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:      "lint",
	Usage:     "lint the yaml file, checks for yaml errors",
	ArgsUsage: "<source>",
	Action:    lint,
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:  "trusted",
			Usage: "is the yaml trustable",
		},
	},
}

Command exports the linter command.

Functions

This section is empty.

Types

type Flags added in v1.6.0

type Flags struct {
	Build  drone.Build
	Netrc  drone.Netrc
	Repo   drone.Repo
	Stage  drone.Stage
	System drone.System
}

Jump to

Keyboard shortcuts

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