What's Changed
- Add configuration instructions for UseCorrectCasing (again) by Sean Wheeler (@sdwheeler) in #2090
- Fix for PSUseConsistantWhiteSpace when using statement is present by AlexandraDorey-Magnet (@AlexandraDorey) in #2091
- Exclude PSNativeCommandArgumentPassing variable by Christoph Bergmeister (@bergmeister) in #2093
- Update version check in PSScriptAnalyzer.psm1 to align with SMA version for PowerShell 7 by Christoph Bergmeister (@bergmeister) in #2107
- Change CommandInfo lookup for commands in the form
module\cmdletNameby Liam Peters (@liamjpeters) in #2125 - PSAvoidDefaultValueForMandatoryParameter: Fix param block and parameter set handling by Liam Peters (@liamjpeters) in #2121
- Add AvoidReservedWordsAsFunctionNames Rule by Liam Peters (@liamjpeters) in #2128
- Update .NET SDK, PowerShell SDK, Newtonsoft.Json and codeowners by Andy Jordan (@andyleejordan) in #2143
- Preserve braced member access in
UseConsistentWhitespaceby Liam Peters (@liamjpeters) in #2140 - Update docs and diagnostic message for UseCorrectCasing by Liam Peters (@liamjpeters) in #2138
- Fix SuppressMessage CustomRule by Gilbert Sanchez (@HeyItsGilbert) in #2142
- Sync rules docs from docs repo by Sean Wheeler (@sdwheeler) in #2144
- Allow contributors to run CI manually by Christoph Bergmeister (@bergmeister) in #2153
- Remove Conditional Compilation and Runtime Checks for v3 or v4 by Liam Peters (@liamjpeters) in #2150
- Add UseConsistentParametersKind rule by Denis Melnikov (@Haimasker) in #2149
- Fix typos in resource strings and associated C# references by Henrique Azevedo (@casuffitsharp) in #2163
- Optimise LINQ queries by Christoph Bergmeister (@bergmeister) in #2160
- AlignAssignmentStatement overhaul to fix issues and include handing of Enums. by Liam Peters (@liamjpeters) in #2132
- Dynamically count expected rules in GetScriptAnalyzerRule test by Andy Jordan (@andyleejordan) in #2167
- Add UseConsistentParameterSetName Rule by Liam Peters (@liamjpeters) in #2124
- feat(tests): added closing bracket test for formatting presets by Olav Rønnestad Birkeland (@o-l-a-v) in #2161
- Add UseSingleValueFromPipelineParameter Rule by Liam Peters (@liamjpeters) in #2119
- Added user-friendly installation instructions by Adam Erickson (@admercs) in #2141
- Update .NET SDK, PowerShell SDK dependencies by @Copilot in #2168
- Add Optional PSUseConstrainedLanguageMode rule by Josh Corrick (@joshcorr) in #2165
- v1.25.0: Thanks to all the new contributors! by Andy Jordan (@andyleejordan) in #2169
New Contributors
- AlexandraDorey-Magnet (@AlexandraDorey) made their first contribution in #2091
- Gilbert Sanchez (@HeyItsGilbert) made their first contribution in #2142
- Denis Melnikov (@Haimasker) made their first contribution in #2149
- Henrique Azevedo (@casuffitsharp) made their first contribution in #2163
- Olav Rønnestad Birkeland (@o-l-a-v) made their first contribution in #2161
- Adam Erickson (@admercs) made their first contribution in #2141
- @Copilot made their first contribution in #2168
- Josh Corrick (@joshcorr) made their first contribution in #2165
Full Changelog: 1.24.0...1.25.0