Skip to content

Commit 70c111e

Browse files
Update .psscriptanalyzer.psd1
Signed-off-by: LUIZ HAMILTON ROBERTO DA SILVA <[email protected]>
1 parent a76b61a commit 70c111e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.psscriptanalyzer.psd1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@
77

88
IncludeDefaultRules = $true
99

10-
# Default severities to return (workflow gates on "Error" only)
10+
# Return these severities; your workflow should "gate" only on Error.
1111
Severity = @('Error','Warning','Information')
1212

13-
# Keep this list focused and stable (corporate baseline).
13+
# Optional: global exclusions (leave empty unless you truly never want a rule anywhere)
14+
ExcludeRules = @(
15+
# Example: 'PSAvoidUsingWriteHost'
16+
)
17+
18+
# Corporate baseline (focused + stable)
1419
IncludeRules = @(
1520
'PSAvoidUsingCmdletAliases',
1621
'PSAvoidUsingWriteHost',

0 commit comments

Comments
 (0)