Liam Peters
Liam Peters
## PR Summary - Added `PSAvoidTrailingWhitespace` to the list of rules considered by the formatter (an entry for the rule is still required in the `Rules` part of `settings`). Fixes...
## PR Summary Currently if an LParen `(` is the first token on a line and the next token is not a comment or new line, then the line's indentation...
## PR Summary The rule `PSAvoidAssignmentToAutomaticVariable` alerts when no assignment has taken place. It does so when `$true` or `$false` is used within the `ValidateSet` attribute of a parameter. Only...
## PR Summary PSScriptAnalyzer reports PSReservedParams as warning but according to the [documentation](https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/rules/reservedparams?view=ps-modules) it's an error. This PR makes the rule report as an error and fixes up tests that...
## PR Summary Hashtables with a single key-value pair should be ignored by `PSAlignAssignmentStatement` as there is nothing to align. There are other rules that handle whitespace around operators etc...
## PR Summary When `CheckParameter` is `$true` for the rule `PSUseConsistentWhitespace`, it checks whitespace between parameters by inspecting the AST. It gets all direct children of each `CommandAst` and checks,...
## PR Summary *Very much a work in progress, but almost all tests pass (new cmdlet needs help for `Get-Help`) and json files are usable wherever .psd1 settings file can...
## PR Summary Overhauls the AlignAssignmentStatement rule to include handling of enums as well as fix several issues with Hashtable alignment. I am *very* open to feedback and suggestions 😀....
## PR Summary Adds a new rule, `UseSingleValueFromPipelineParameter`, which flags when multiple parameters in the same parameter set have `ValueFromPipeline` set to true. When running something like: ```powershell function Test-ValueFromPipeline...
## PR Summary Add UseConsistentParameterSetName rule to detect potential parameter set issues Parameter set names are case-sensitive in PowerShell (unlike most other elements), which can lead to runtime errors and...