mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
f3c9bbd0ef
The PSScriptAnalyzer expects a text file, not a PowerShell extension on the filename. The latest version of powershell now respects this rule and breaks testing as the settings file doesn't meet the requirements of the linter. Signed-off-by: Brett Logan <lindluni@github.com>
18 lines
508 B
Text
18 lines
508 B
Text
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
|
|
@{
|
|
#CustomRulePath='path\to\CustomRuleModule.psm1'
|
|
#RecurseCustomRulePath='path\of\customrules'
|
|
#Severity = @(
|
|
# 'Error'
|
|
# 'Warning'
|
|
#)
|
|
#IncludeDefaultRules=${true}
|
|
#ExcludeRules = @(
|
|
# 'PSAvoidUsingWriteHost',
|
|
# 'MyCustomRuleName'
|
|
#)
|
|
#IncludeRules = @(
|
|
# 'PSAvoidUsingWriteHost',
|
|
# 'MyCustomRuleName'
|
|
#)
|
|
}
|