powershell

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PreferShellInstructionRuleCode = rules.TallyRulePrefix + "powershell/prefer-shell-instruction"

PreferShellInstructionRuleCode is the full rule code for prefer-shell-instruction.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreferShellInstructionRule

type PreferShellInstructionRule struct{}

PreferShellInstructionRule recommends using SHELL for repeated PowerShell RUN wrappers.

func NewPreferShellInstructionRule

func NewPreferShellInstructionRule() *PreferShellInstructionRule

NewPreferShellInstructionRule creates a new rule instance.

func (*PreferShellInstructionRule) Check

Check runs the rule.

func (*PreferShellInstructionRule) Metadata

Metadata returns the rule metadata.

Jump to

Keyboard shortcuts

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