Skip to content

Commit 273992b

Browse files
sdwheelerCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent c0957d2 commit 273992b

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/Cmdlets/Test-ScriptAnalyzerSettingsFile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ diagnostic record points to the offending text in the file. This is the same obj
3737
`Invoke-ScriptAnalyzer`, so existing formatting and tooling works by default. When the file is
3838
valid, the command produces no output.
3939

40-
If you use the **Quiet** parameter, the command only `$true` or `$false` and suppresses all
40+
If you use the **Quiet** parameter, the command returns only `$true` or `$false` and suppresses all
4141
diagnostic output.
4242

4343
## EXAMPLES

docs/Rules/AvoidDynamicallyCreatingVariableNames.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ Rules = @{
7575
- [about_Scopes][01]
7676

7777
<!-- link references -->
78-
[01]: /powershell/modules/microsoft.powershell.core/about/about_scopes
78+
[01]: /powershell/module/microsoft.powershell.core/about/about_scopes
7979
[02]: xref:Microsoft.PowerShell.Utility.New-Variable

docs/Rules/UseConsistentParametersKind.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function g {
4343
Rules = @{
4444
PSUseConsistentParametersKind = @{
4545
Enable = $true
46+
ParametersKind = 'ParamBlock'
4647
}
4748
}
4849
```

docs/Rules/UseSingularNouns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ boolean value. To disable this rule, set this parameter to `$false`. The default
6868

6969
### NounAllowList
7070

71-
This parameter specifies which noun commands to exclude from this rule. It accepts a string value.
71+
This parameter specifies which noun commands to exclude from this rule. It accepts a string array.
7272
Both `Data` and `Windows` are common false positives and excluded by default. Default values are
7373
`'Data'` and `'Windows'`.

0 commit comments

Comments
 (0)