shellcheck

package
v0.18.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ShellCheckRuleCode enables embedded ShellCheck linting.
	ShellCheckRuleCode = rules.ShellcheckRulePrefix + "ShellCheck"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule struct {
	// contains filtered or unexported fields
}

Rule runs embedded ShellCheck on shell snippets in Dockerfile instructions.

func NewRule

func NewRule() *Rule

func (*Rule) Check

func (r *Rule) Check(input rules.LintInput) []rules.Violation

func (*Rule) Metadata

func (r *Rule) Metadata() rules.RuleMetadata

Jump to

Keyboard shortcuts

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