Skip to content

Commit 82a2d27

Browse files
committed
Add requirement for pipeline parameters in all parameter sets
1 parent 1de0cf4 commit 82a2d27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/instructions/dsc-community-style-guidelines-powershell.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function Get-Something
134134
- Parameter type on line above parameter name
135135
- Parameters separated by blank line
136136
- Parameters should use full type name.
137+
- Pipeline parameters (`ValueFromPipeline = $true`) must be declared in ALL parameter sets
137138

138139
## Best Practices
139140

0 commit comments

Comments
 (0)