Severity Level: Warning
Close brace placement should follow a consistent style. It should be on a new line by itself and should not be followed by an empty line.
Note: This rule is not enabled by default. The user needs to enable it through settings.
Rules = @{
PSPlaceCloseBrace = @{
Enable = $true
NoEmptyLineBefore = $false
}
Enable or disable the rule during ScriptAnalyzer invocation.
Create violation if there is an empty line before a close brace.