lint

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Lint php scripts"

Name is the command title.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cli.Command

NewCommand creates a new lint command.

func Run

func Run(args []string, opts Options) error

Run lints files or directories and reports diagnostics.

Types

type Options added in v0.3.3

type Options struct {
	Flatstack bool
	Output    string
}

Options holds CLI flag options for the lint command.

Jump to

Keyboard shortcuts

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