Align analyzer warning cleanup policy

This commit is contained in:
Chris Titus
2026-07-02 00:15:24 -05:00
parent 67072da1c6
commit 9afd0be008
7 changed files with 21 additions and 32 deletions
+1 -20
View File
@@ -21,24 +21,5 @@
# the default rules except for those you exclude below.
# Note: if a rule is in both IncludeRules and ExcludeRules, the rule
# will be excluded.
ExcludeRules = @(
# WinUtil is a WPF utility script that intentionally logs progress to the host/transcript.
'PSAvoidUsingWriteHost',
# Public and XAML-wired function names are part of the existing WinUtil surface.
'PSUseSingularNouns',
'PSUseApprovedVerbs',
# UI helpers and internal state helpers are not exposed as WhatIf-capable cmdlets.
'PSUseShouldProcessForStateChangingFunctions',
# Shared WPF/runspace state is intentionally stored in $sync/global state.
'PSAvoidGlobalVars',
# Source files are UTF-8 without BOM and are verified by parser tests.
'PSUseBOMForUnicodeEncodedFile',
# WPF dispatcher closures and Pester mocks intentionally keep callback-style parameters.
'PSReviewUnusedParameter'
)
ExcludeRules = @('PSAvoidUsingWriteHost')
}