PSScriptAnalyzer icon indicating copy to clipboard operation
PSScriptAnalyzer copied to clipboard

Download ScriptAnalyzer from PowerShellGallery

Results 201 PSScriptAnalyzer issues
Sort by recently updated
recently updated
newest added

Before submitting a bug report: - Make sure you are able to repro it on the latest released version - Perform a quick search for existing issues to check if...

Issue - Enhancement
Up-for-Grabs

**Summary of the new feature** When you call `get-content file.json | convertfrom-json`, funny things happen when `file.json` contains a comment at the top of the file. Multiple places suggest that...

Issue - New Rule
Issue - Enhancement
Up-for-Grabs

When I run through Invoke-ScriptAnalyzer[1], I find all of my expected violations and I see all of my custom rules running. However, when using the same settings file for Invoke-Formatter[2],...

Up-for-Grabs
Needs-Investigation

**Summary of the new feature** ForEach-Object is great. However, by its name, it's similar to foreach. Using continue/break/return within ForEach-Object to foreach is much different and does something that most...

Issue - New Rule
Up-for-Grabs
Area - Rules

Compatibility profiles are currently very slow to start up and use opaque and duplicated configurations across rules. Instead: - They should be more modular so they can be more easily...

Consider - 2.0

## PR Summary Removes `Path` as a mandatory parameter and sets the default to the current working directory. Resolves #1887 ## PR Checklist - [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)...

not ready

### Prerequisites - [X] I have written a descriptive issue title. - [X] I have searched all [issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported. ### Summary If you...

Issue-Enhancement
Up for Grabs

## PR Summary ### Exception ![image](https://github.com/PowerShell/PSScriptAnalyzer/assets/1424395/2085faf7-4b8f-45e7-83ba-ac2f63c51571) ### Stack Trace ![image](https://github.com/PowerShell/PSScriptAnalyzer/assets/1424395/aa3ee599-0491-476d-b0d4-a204607a3035) ## PR Checklist - [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - Use the present tense and imperative mood when describing...

Currently PSScriptAnalyzer settings suffer from the following drawbacks: - They are opaque and truly documented only by the parsing logic - Misconfiguration usually fails silently, or at best issues an...

Issue - Discussion
Consider - 2.0
API Proposal

Integrating PSSA into CI pipelines may mean getting it to report output nicely. For example, Azure DevOps can understand, display and use the output of e.g. NUnit XML. ([link](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml)) I...

Issue - Enhancement
Area - Build