Script hygiene that hits like lightning.
“When code clouds gather… bring the storm.”
LintStorm is a modular PowerShell diagnostic suite designed to scan and surface structural, logical, documentation, and security issues in .ps1 scripts. It runs a series of in-depth checks and can optionally suggest fixes for common script problems—making it the ideal preflight scanner for anyone writing or managing PowerShell code.
- 🧪 12 built-in code hygiene checks
- 📊 Summary report with pass/fail indicators
- 🛠️ Optional fix suggestions for flagged lines (
-SuggestFixes) - 🖼️ GUI file picker for easy file selection
- 🌩️ Modular, extensible, and scriptable diagnostic engine
- ✅ Syntax validation
- 🧩 AST structural analysis
- 🔍 Token stream inspection
- 🧮 Brace balancing and dip detection
- 🔐 Quote mismatch checks
⚠️ Unsafe cmdlet audit (Remove-Item without -WhatIf)- 🪫 Empty catch block alert
- 📝 Documentation gaps (uncommented regions)
- 🕸️ Deprecated cmdlet detection
- 🧷 Hardcoded path/credential scanner
- 🔦 Quote parity inspection
- 🌀 Structural anomaly flags
- 🌐 Language-agnostic linting engine
- 📄 CI-friendly output formats (JSON/CSV)
- 🔁 Auto-fix CLI utilities
- 📈 Logging and history tracking
- 🧱 Module conversion for importable usage
MIT License — free to use, modify, and distribute with attribution. See LICENSE for full terms.
Built by Foresta 📆 Tool inception: July 2025
v1.0 – Initial Release
- ✅ Modular tool with 12 core checks
- 🛠️ Optional fix suggestion system
- 🖼️ File picker UI
- 📊 Polished summary and diagnostic report
Launch the tool in PowerShell:
.\LintStorm.ps1