lint

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Level   string // "error" or "warning"
	Message string
}

Issue represents a lint finding.

func Lint

func Lint(data, filePath string) []Issue

Lint validates a recipe TOML string and returns issues. filePath is used for path-based checks; pass "" to skip.

Jump to

Keyboard shortcuts

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