You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a formatted piece of PowerShell with the notable feature of using both no new line after the pipe and new line after the pipe. The new rule would normalise the presence of a new line after a pipe across the input data.
The rule would have the option to enforce new lines or enforce no new lines after a pipe.
For example,
$List | Where-Object {
} |
ForEach-Object {
}
would become
$List | Where-Object {
} | ForEach-Object {
}
If there only exists one pipe, then removing a Newline pending its line length could also be within the scope of the feature.
What is the latest version of PSScriptAnalyzer at the point of writing