Every time I open the same powershell-files, the same issues caught by the PSSA-integration are duplicated over and over in the Problems-tab in VSCode.
Steps to reproduce:
demo.ps1
$myVar = "foo"
PSScriptAnalyzerSettings.psd1
@{
Severity = @('Error','Warning')
IncludeDefaultRules = $true
}


Follow the instructions in the README about
capturing and sending logs.
| Name | Version |
| --- | --- |
| Operating System | Windows_NT x64 10.0.19042 |
| VSCode | 1.54.3|
| PowerShell Extension Version | 2021.2.2 |
|Name|Value|
|---|---|
|PSVersion|7.1.3|
|PSEdition|Core|
|GitCommitId|7.1.3|
|OS|Microsoft Windows 10.0.19042|
|Platform|Win32NT|
|PSCompatibleVersions|1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0 7.1.3|
|PSRemotingProtocolVersion|2.3|
|SerializationVersion|1.1.0.1|
|WSManStackVersion|3.0|
Visual Studio Code Extensions(Click to Expand)
|Extension|Author|Version|
|---|---|---|
|powershell|ms-vscode|2021.2.2|
Thanks @fflaten I can reproduce this
Most helpful comment
Thanks @fflaten I can reproduce this