File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
reference/docs-conceptual/PSScriptAnalyzer/Rules Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11---
22description : Avoid long lines
3- ms.date : 06/28/2023
3+ ms.date : 04/29/2025
44ms.topic : reference
55title : AvoidLongLines
66---
@@ -10,10 +10,11 @@ title: AvoidLongLines
1010
1111## Description
1212
13- Lines should be no longer than a configured number of characters (default: 120), including leading
14- whitespace (indentation) .
13+ The length of lines, including leading spaces (indentation), should less than the configured number
14+ of characters. The default length is 120 characters .
1515
16- ** Note** : This rule is not enabled by default. The user needs to enable it through settings.
16+ > [ !NOTE]
17+ > This rule isn't enabled by default. The user needs to enable it through settings.
1718
1819## Configuration
1920
@@ -26,12 +27,12 @@ Rules = @{
2627}
2728```
2829
29- ### Parameters
30+ ## Parameters
3031
31- #### Enable: bool (Default value is ` $false ` )
32+ ### ` Enable ` : bool (Default value is ` $false ` )
3233
3334Enable or disable the rule during ScriptAnalyzer invocation.
3435
35- #### MaximumLineLength: int (Default value is 120)
36+ ### ` MaximumLineLength ` : int (Default value is 120)
3637
3738Optional parameter to override the default maximum line length.
You can’t perform that action at this time.
0 commit comments