-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: joshcorr/PSScriptAnalyzer
base: main
head repository: PowerShell/PSScriptAnalyzer
compare: main
- 7 commits
- 20 files changed
- 9 contributors
Commits on Mar 17, 2026
-
Add UseCorrectParametersKind rule (PowerShell#2149)
* Consistent function parameters definition * Rule is disabled by default * Possible types of preferred function parameters are: "Inline", "ParamBlock" Co-authored-by: Christoph Bergmeister <c.bergmeister@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 520d2aa - Browse repository at this point
Copy the full SHA 520d2aaView commit details
Commits on Mar 18, 2026
-
Fix typos in resource strings and associated C# references (PowerShel…
…l#2163) * Fix typos and grammatical errors in resource strings - Correct misspellings in Strings.resx (e.g., 'equaltiy', 'whitepsace') - Rename misspelled resource keys for consistency - Update C# rule files to reflect new resource key names * Strings: fix grammar and casing in rule descriptions - Combine sentence fragment in AvoidUsingEmptyCatchBlockDescription for better flow - Update 'Whatif' to 'WhatIf' in UseSupportsShouldProcess strings to match PowerShell naming conventions * Strings: improve AvoidUsingEmptyCatchBlockDescription phrasing
Configuration menu - View commit details
-
Copy full SHA for b3653a9 - Browse repository at this point
Copy the full SHA b3653a9View commit details -
Optimise LINQ queries (PowerShell#2160)
* Initial plan * Optimize LINQ operations for better performance Co-authored-by: bergmeister <9250262+bergmeister@users.noreply.github.com> * Update Rules/AvoidMultipleTypeAttributes.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update Rules/AvoidMultipleTypeAttributes.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bergmeister <9250262+bergmeister@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 474e28b - Browse repository at this point
Copy the full SHA 474e28bView commit details -
AlignAssignmentStatement overhaul to fix issues and include handing o…
…f Enums. (PowerShell#2132) * Wholesale rewrite of AlignAssignmentStatement to fix issues * Change setting defaults to all enabled * Wholesale rewrite of AlignAssignmentStatement to fix issues * Change setting defaults to all enabled --------- Co-authored-by: Christoph Bergmeister <c.bergmeister@gmail.com> Co-authored-by: Andy Jordan <2226434+andyleejordan@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9d8a1fe - Browse repository at this point
Copy the full SHA 9d8a1feView commit details -
Dynamically count expected rules in GetScriptAnalyzerRule test (Power…
…Shell#2167) Replace hardcoded rule count with dynamic counting of [Export(typeof(I...Rule))] attributes in C# source files. This prevents the test from breaking every time a new rule is added.
Configuration menu - View commit details
-
Copy full SHA for f3e9134 - Browse repository at this point
Copy the full SHA f3e9134View commit details -
Add UseConsistentParameterSetName Rule (PowerShell#2124)
* Add UseConsistentParameterSetName Rule * Update GetScriptAnalyzerRule.tests.ps1 to fix test about number of rules * Make rule optional, disabled by default * Update tests to reflect need to enable rule * Update docs to refelct that the rule is not enabeld by default * Fix alignment of README markdown table * Update Rules/UseConsistentParameterSetName.cs Co-authored-by: Christoph Bergmeister <c.bergmeister@gmail.com> * Update expected rule count to 73 for new UseConsistentParameterSetName rule --------- Co-authored-by: Christoph Bergmeister <c.bergmeister@gmail.com> Co-authored-by: Andy Jordan <2226434+andyleejordan@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ed50b9d - Browse repository at this point
Copy the full SHA ed50b9dView commit details -
Added closing bracket test for formatting presets (PowerShell#2161)
* feat(tests): added closing bracket test for formatting presets * Update Tests/Rules/PlaceCloseBrace.tests.ps1 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ac48fad - Browse repository at this point
Copy the full SHA ac48fadView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main