You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(language): add complete PowerShell review support #969
PowerShell .ps1 files are already included in the review allowlist, but they currently fall back to the generic review rules. PowerShell module (.psm1) and data/manifest (.psd1) files are not allowlisted, even though they are standard PowerShell source formats analyzed by PSScriptAnalyzer.
Pester's conventional *.Tests.ps1 files are also treated as production review inputs instead of test files.
Proposed Solution
Add .psm1 and .psd1 to the supported file types.
Exclude conventional Pester *.Tests.ps1 files.
Add a PowerShell-specific review rule covering command injection, error and native-process semantics, pipeline output, credentials, remoting, module manifests, platform compatibility, and Pester test correctness.
Map .ps1, .psm1, and .psd1 files to the PowerShell rule.
Add allowlist, exclusion, and rule-resolution tests.
A focused implementation is ready and will be linked in a pull request.
Activity