Pattern: Line if too long
Issue: -
Your source code should not contain very long lines. The default wrapping in most tools disrupts the visual structure of the code, making it more difficult to understand.
Rules = @{
PSAvoidLongLines = @{
Enable = $true
LineLength = 120
}
}
Enable or disable the rule during ScriptAnalyzer invocation.
Optional parameter to override the default maximum line length.