report

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package report renders a finished lint pass. Each format is a WIRE format with a consumer that parses it — a terminal, a GitHub Actions runner, a code scanning upload — which is why rendering lives here rather than in a generic result encoder.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(w io.Writer, format OutputFormat, result suite.Result) error

Write renders the result to w in the named format.

Types

type OutputFormat

type OutputFormat string

OutputFormat names how a Result is rendered.

const (
	OutputHuman  OutputFormat = "human"
	OutputJSON   OutputFormat = "json"
	OutputGitHub OutputFormat = "github"
	OutputSARIF  OutputFormat = "sarif"
)

The output formats stickler supports.

Jump to

Keyboard shortcuts

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