psscriptanalyzer
psscriptanalyzer is a linter for PowerShell.
You can enable the psscriptanalyzer linter with:
Auto Enabling
psscriptanalyzer will be auto-enabled if a PSScriptAnalyzerSettings.psd1
config file is present.
Settings
psscriptanalyzer supports the following config files:
PSScriptAnalyzerSettings.psd1
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info.
Links
psscriptanalyzer Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated