Skip to content

Commit 071a61c

Browse files
authored
Update UseConsistentWhitespace documentation to show all options (#1185)
1 parent 5485afc commit 071a61c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

RuleDocumentation/UseConsistentWhitespace.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,22 @@
44

55
## Description
66

7-
# parameters
7+
# Parameters
88

99
**Note**: This rule is not enabled by default. The user needs to enable it through settings.
1010

1111
## Configuration
1212

1313
```powershell
1414
Rules = @{
15-
PSUseConsistentWhitespace = @{
16-
Enable = $true
17-
CheckOpenBrace = $true
18-
CheckOpenParen = $true
19-
CheckOperator = $true
20-
CheckSeparator = $true
15+
PSUseConsistentWhitespace = @{
16+
Enable = $true
17+
CheckInnerBrace = $true
18+
CheckOpenBrace = $true
19+
CheckOpenParen = $true
20+
CheckOperator = $true
21+
CheckPipe = $true
22+
CheckSeparator = $true
2123
}
2224
}
2325
```
@@ -50,4 +52,4 @@ Checks if a comma or a semicolon is followed by a space. E.g. `@(1, 2, 3)` or `@
5052

5153
#### CheckPipe: bool (Default value is `$true`)
5254

53-
Checks if a pipe is surrounded on both sides by a space. E.g. `foo | bar` instead of `foo|bar`.
55+
Checks if a pipe is surrounded on both sides by a space. E.g. `foo | bar` instead of `foo|bar`.

0 commit comments

Comments
 (0)