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

This commit is contained in:
Simone
2026-05-13 18:44:28 +02:00
committed by Simone
parent e09c0cf5a5
commit 366ff0ce46
+7 -1
View File
@@ -3,7 +3,13 @@
ExcludeRules = @( ExcludeRules = @(
# All CI scripts use Write-Host for structured output captured by act_runner. # All CI scripts use Write-Host for structured output captured by act_runner.
# Write-Output would interleave with function return values and break callers. # 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 ────────────────────────────────────────────── # ── Rule-specific configuration ──────────────────────────────────────────────