-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPSScriptAnalyzerSettings.psd1
More file actions
28 lines (24 loc) · 778 Bytes
/
PSScriptAnalyzerSettings.psd1
File metadata and controls
28 lines (24 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/using-scriptanalyzer
@{
IncludeDefaultRules = $true
IncludeRules = @(
# Default rules
'PS*'
)
# If IncludeRules and ExcludeRules are empty, all rules will be applied
ExcludeRules = @()
Rules = @{
# PSUseCompatibleSyntax = @{
# # This turns the rule on (setting it to false will turn it off)
# Enable = $true
# # List the targeted versions of PowerShell here
# TargetVersions = @(
# '5.1',
# '7.2'
# )
# }
# PSUseCompatibleCmdlets = @{
# compatibility = @('core-7.2.0-windows')
# }
}
}