Skip to content

Commit 6806e84

Browse files
committed
Add missing configuration parameter
1 parent 273992b commit 6806e84

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

docs/Cmdlets/Invoke-Formatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function foo
7777
}
7878
```
7979

80-
### EXAMPLE 3 - Format the input script text using the settings defined a `.psd1` file
80+
### EXAMPLE 3 - Format the input script text using the settings defined in a `.psd1` file
8181

8282
```powershell
8383
Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings /path/to/settings.psd1

docs/Rules/UseConsistentParametersKind.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Use the same pattern when defining parameters
3-
ms.date: 07/21/2026
3+
ms.date: 07/23/2026
44
ms.topic: reference
55
title: UseConsistentParametersKind
66
---
@@ -54,3 +54,9 @@ Rules = @{
5454

5555
This parameter controls whether ScriptAnalyzer checks the code against this rule. It accepts a
5656
boolean value. To enable this rule, set this parameter to `$true`. The default value is `$false`.
57+
58+
### ParametersKind
59+
60+
Use this parameter to specify the type of parameter definition pattern that should be used
61+
consistently across all functions. It accepts a string value, which can be either `Inline` or
62+
`ParamBlock`. The default value is `ParamBlock`.

docs/Rules/UseSingularNouns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Use single cmdlet nouns
3-
ms.date: 07/21/2026
3+
ms.date: 07/23/2026
44
ms.topic: reference
55
title: UseSingularNouns
66
---
@@ -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 array.
71+
This parameter specifies which command nouns 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)