ci(lint): update PSScriptAnalyzer settings to include additional formatting rules

This commit is contained in:
Simone
2026-05-14 18:34:02 +02:00
committed by Simone
parent 2c7af6b39a
commit de31b8b56b
+7 -1
View File
@@ -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 ──────────────────────────────────────────────