From 366ff0ce46fef219e7d045069bc02a468fbbdc21 Mon Sep 17 00:00:00 2001 From: Simone Date: Wed, 13 May 2026 18:44:28 +0200 Subject: [PATCH] ci(lint): update PSScriptAnalyzer settings to include additional formatting rules --- PSScriptAnalyzerSettings.psd1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PSScriptAnalyzerSettings.psd1 b/PSScriptAnalyzerSettings.psd1 index fbd7fc3..00c4c41 100644 --- a/PSScriptAnalyzerSettings.psd1 +++ b/PSScriptAnalyzerSettings.psd1 @@ -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 ──────────────────────────────────────────────