class

Krikri::Lint::RiskyShellPipeRule

Inherits Krikri::Lint::Rule < Reference < Object

Upstream parity: ansible-lint's risky-shell-pipe (severity MEDIUM, tags command-shell). shell tasks with a pipe should set pipefail; executable pwsh is exempt.

Instance methods

applies_to
Source
check(file : PositionedFile, violations : Array(Violation)) : Nil
Source
severity
Source
tags
Source
task_scoped?

Task-oriented: violations belong to an enclosing task, so a # noqa: anywhere in that task's body suppresses them.

Source