🐰 New: Triage — a self-updating cross-repository queue that prioritizes pull requests by value and risk, so you always know what to review next. Explore Triage →
PSScriptAnalyzer is a static code checker for PowerShell scripts and modules. It checks script and module code for best-practice violations and common issues.CodeRabbit runs PSScriptAnalyzer v1.25.0.
Files
PSScriptAnalyzer runs on files with the following extensions:
.ps1 (PowerShell scripts)
.psm1 (PowerShell modules)
.psd1 (PowerShell data files / module manifests)
Configuration
boolean
default:true
Enable PSScriptAnalyzer
.coderabbit.yaml
Web UI
.coderabbit.yaml
reviews: tools: psscriptanalyzer: enabled: true
In your organization or repository settings, go to Reviews → Tools and turn the tool on or off with its toggle.