ci(lint): update PSScriptAnalyzer settings to include additional formatting rules
This commit is contained in:
@@ -3,7 +3,13 @@
|
||||
ExcludeRules = @(
|
||||
# All CI scripts use Write-Host for structured output captured by act_runner.
|
||||
# Write-Output would interleave with function return values and break callers.
|
||||
'PSAvoidUsingWriteHost'
|
||||
'PSAvoidUsingWriteHost',
|
||||
|
||||
# Formatting-only rules: generate one warning per line across all existing scripts
|
||||
# (thousands of hits). Run locally with Invoke-ScriptAnalyzer -Fix to auto-format;
|
||||
# do not use as CI gate until the whole codebase has been reformatted.
|
||||
'PSUseConsistentIndentation',
|
||||
'PSUseConsistentWhitespace'
|
||||
)
|
||||
|
||||
# ── Rule-specific configuration ──────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user