We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76b61a commit 70c111eCopy full SHA for 70c111e
1 file changed
.psscriptanalyzer.psd1
@@ -7,10 +7,15 @@
7
8
IncludeDefaultRules = $true
9
10
- # Default severities to return (workflow gates on "Error" only)
+ # Return these severities; your workflow should "gate" only on Error.
11
Severity = @('Error','Warning','Information')
12
13
- # Keep this list focused and stable (corporate baseline).
+ # 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)
19
IncludeRules = @(
20
'PSAvoidUsingCmdletAliases',
21
'PSAvoidUsingWriteHost',
0 commit comments