powershell/PSAlignAssignmentStatement is a PSScriptAnalyzer diagnostic emitted by tally for PowerShell snippets embedded in Dockerfiles.
Description
Consecutive assignment statements are more readable when they’re aligned. Assignments are considered aligned when theirequals signs line up vertically.
This rule looks at the key-value pairs in hashtables (including DSC configurations) as well as enum
definitions.
Consider the following example with a hashtable and enum that isn’t aligned.
$h = @{a = 1; b = 2}.