ScriptAnalyzerRulesLWA
Opinionated PSScriptAnalyzer custom rules
Getting Started
Install from the PowerShell Gallery
import-module -name ScriptAnalyzerRulesLWA
Run the rules against your code
Invoke-ScriptAnalyzer -CustomRulePath (Get-Module -name ScriptAnalyzerRulesLWA).path -Path ./MyScript.ps1 -verbose
Contributions
See Contributing file.