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 ──────────────────────────────────────────────