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