In keeping with the tradition of releasing improvements to PSScriptAnalyzer more often, we’re happy to announce that 1.18.12 is now available! As a dependency of PowerShell Editor Services (a module used by editor extensions like the PowerShell Visual Studio Code extension),
Post by this author
PSScriptAnalyzer (PSSA) 1.18.1 is now available on the PSGallery and fixes not only a lot of the issues reported for 1.18.0 but has also been made twice as faster compared to 1.18.0. Additionally, the -SaveDscDependency switch on Invoke-ScriptAnalyzerhas been improved to be platform agnostic and should now also work on Linux systems if DSC has been set up.
PSScriptAnalyzer (PSSA) 1.18.0 is now available on the PSGallery and brings a lot of improvements in the following areas:
Better compatibility analysis of commands, types and syntax across different platforms and versions of PowerShell
Better formatting and customization. New capabilities are:
Multi-line pipeline indentation styles
Cmdlet casing for better consistency and readability
Consistent whitespace inside braces and pipes
Custom rules can now be suppressed and preserve the RuleSuppressionID
Better DSC support by being able to understand different syntaxes of Import-DscResource
Better user experience by being able to pipe to Invoke-ScriptAnalyzer and added tab completion of the returned objects that are piped to the next pipeline
Better handling of parsing errors by emitting them as a diagnostic record with a new Severity type
Improved Performance: Expect it to be about twice as fast in most cases and even more when re-analyzing a file.