2023-03-07 12:28:00 -08:00
|
|
|
@{
|
|
|
|
|
# Only diagnostic records of the specified severity will be generated.
|
|
|
|
|
# Uncomment the following line if you only want Errors and Warnings but
|
|
|
|
|
# not Information diagnostic records.
|
|
|
|
|
# Severity = @('Error','Warning')
|
|
|
|
|
|
|
|
|
|
# Analyze **only** the following rules. Use IncludeRules when you want
|
2023-08-02 19:43:52 -05:00
|
|
|
# to invoke only a small subset of the default rules.
|
2023-03-07 12:28:00 -08:00
|
|
|
<#
|
|
|
|
|
IncludeRules = @('PSAvoidDefaultValueSwitchParameter',
|
|
|
|
|
'PSMisleadingBacktick',
|
|
|
|
|
'PSMissingModuleManifestField',
|
|
|
|
|
'PSReservedCmdletChar',
|
|
|
|
|
'PSReservedParams',
|
|
|
|
|
'PSShouldProcess',
|
|
|
|
|
'PSUseApprovedVerbs',
|
2023-08-02 19:43:52 -05:00
|
|
|
'PSUseDeclaredVarsMoreThanAssignments')
|
2023-10-19 17:12:55 -05:00
|
|
|
#>
|
2023-03-07 12:28:00 -08:00
|
|
|
# Do not analyze the following rules. Use ExcludeRules when you have
|
|
|
|
|
# commented out the IncludeRules settings above and want to include all
|
|
|
|
|
# the default rules except for those you exclude below.
|
|
|
|
|
# Note: if a rule is in both IncludeRules and ExcludeRules, the rule
|
|
|
|
|
# will be excluded.
|
|
|
|
|
ExcludeRules = @('PSAvoidUsingWriteHost')
|
2024-08-06 23:35:17 +03:00
|
|
|
}
|