Skip to content

Commit 34fed41

Browse files
🩹 [Patch]: Add PSAvoidUsingWriteHost to ExcludeRules for improved linting flexibility
1 parent f32d72b commit 34fed41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/linters/.powershell-psscriptanalyzer.psd1‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
}
5252
ExcludeRules = @(
5353
'PSMissingModuleManifestField', # This rule is not applicable until the module is built.
54-
'PSUseToExportFieldsInManifest'
54+
'PSUseToExportFieldsInManifest',
55+
"PSAvoidUsingWriteHost" # Write-Host works well in runners.
5556
)
5657
}

0 commit comments

Comments
 (0)