PSScriptAnalyzerSettings.psd1
|
@{ # DevXToolkit PSScriptAnalyzer settings. # # Note (2026-07-09): PSScriptAnalyzer's built-in rule severities are # NOT configurable via a settings file's "Rules" hashtable — that key # is for passing parameters to configurable rules (e.g. an alias # whitelist), not for overriding a rule's inherent severity. The # previous version of this file set PSAvoidGlobalVars/PSUseSingularNouns # to "Severity: Information", but that was never actually functional — # both rules always report at their fixed Warning severity regardless. # CI scopes which rules it enforces via -IncludeRule instead (see # .github/workflows/test.yml) rather than pretending severity is # configurable here. Rules = @{} } |