Skip to content

Commit 2c97e0e

Browse files
committed
Fix incorrect AlignAssignmentStatement rule setting name in docs
The documentation refers to the "CheckEnum" setting but the rule uses "CheckEnums" (plural).
1 parent 411c3d0 commit 2c97e0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/Rules/AlignAssignmentStatement.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Rules = @{
6161
Enable = $true
6262
CheckHashtable = $true
6363
AlignHashtableKvpWithInterveningComment = $true
64-
CheckEnum = $true
64+
CheckEnums = $true
6565
AlignEnumMemberWithInterveningComment = $true
6666
IncludeValuelessEnumMembers = $true
6767
}
@@ -118,7 +118,7 @@ $hashtable = @{
118118
}
119119
```
120120

121-
### CheckEnum
121+
### CheckEnums
122122

123123
This parameter controls whether ScriptAnalyzer checks assignment alignment in enum member
124124
definitions. It accepts a boolean value. To disable this check, set this parameter to `$false`. The

0 commit comments

Comments
 (0)