From a5a56524a380a4f07968520fc8760dcbdd2ac17e Mon Sep 17 00:00:00 2001 From: "Christoph Bergmeister [MVP]" Date: Fri, 22 Mar 2019 16:33:16 +0000 Subject: [PATCH] Update UseConsistentWhitespace documentation to show all options --- RuleDocumentation/UseConsistentWhitespace.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/RuleDocumentation/UseConsistentWhitespace.md b/RuleDocumentation/UseConsistentWhitespace.md index 10d333971..3070aac5c 100644 --- a/RuleDocumentation/UseConsistentWhitespace.md +++ b/RuleDocumentation/UseConsistentWhitespace.md @@ -4,7 +4,7 @@ ## Description -# parameters +# Parameters **Note**: This rule is not enabled by default. The user needs to enable it through settings. @@ -12,12 +12,14 @@ ```powershell Rules = @{ - PSUseConsistentWhitespace = @{ - Enable = $true - CheckOpenBrace = $true - CheckOpenParen = $true - CheckOperator = $true - CheckSeparator = $true + PSUseConsistentWhitespace = @{ + Enable = $true + CheckInnerBrace = $true + CheckOpenBrace = $true + CheckOpenParen = $true + CheckOperator = $true + CheckPipe = $true + CheckSeparator = $true } } ``` @@ -50,4 +52,4 @@ Checks if a comma or a semicolon is followed by a space. E.g. `@(1, 2, 3)` or `@ #### CheckPipe: bool (Default value is `$true`) -Checks if a pipe is surrounded on both sides by a space. E.g. `foo | bar` instead of `foo|bar`. \ No newline at end of file +Checks if a pipe is surrounded on both sides by a space. E.g. `foo | bar` instead of `foo|bar`.