From 2c97e0ebb77f42e26a97b05ceb1190e6f1122a86 Mon Sep 17 00:00:00 2001 From: "Samuel D. Leslie" Date: Wed, 7 Oct 2026 12:31:33 +1100 Subject: [PATCH] Fix incorrect AlignAssignmentStatement rule setting name in docs The documentation refers to the "CheckEnum" setting but the rule uses "CheckEnums" (plural). --- docs/Rules/AlignAssignmentStatement.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Rules/AlignAssignmentStatement.md b/docs/Rules/AlignAssignmentStatement.md index 3ddf37916..02b4dba26 100644 --- a/docs/Rules/AlignAssignmentStatement.md +++ b/docs/Rules/AlignAssignmentStatement.md @@ -61,7 +61,7 @@ Rules = @{ Enable = $true CheckHashtable = $true AlignHashtableKvpWithInterveningComment = $true - CheckEnum = $true + CheckEnums = $true AlignEnumMemberWithInterveningComment = $true IncludeValuelessEnumMembers = $true } @@ -118,7 +118,7 @@ $hashtable = @{ } ``` -### CheckEnum +### CheckEnums This parameter controls whether ScriptAnalyzer checks assignment alignment in enum member definitions. It accepts a boolean value. To disable this check, set this parameter to `$false`. The