-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFormatterSettings.psd1
More file actions
46 lines (41 loc) · 1.05 KB
/
Copy pathFormatterSettings.psd1
File metadata and controls
46 lines (41 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@{
IncludeRules = @(
"PSUseConsistentWhitespace"
"PSUseConsistentIndentation"
"PSPlaceCloseBrace"
"PSPlaceOpenBrace"
"PSAlignAssignmentStatement"
)
Rules = @{
PSUseConsistentIndentation = @{
Enable = $true
Kind = "space"
IndentationSize = 2
PipelineIndentation = "IncreaseIndentationForFirstPipeline"
}
PSUseConsistentWhitespace = @{
Enable = $true
CheckInnerBrace = $true
CheckOpenBrace = $true
CheckOpenParen = $true
CheckOperator = $true
CheckPipe = $true
CheckSeparator = $true
}
PSPlaceOpenBrace = @{
Enable = $true
OnSameLine = $true
NewLineAfter = $true
IgnoreOneLineBlock = $true
}
PSPlaceCloseBrace = @{
Enable = $true
NewLineAfter = $false
IgnoreOneLineBlock = $true
}
PSAlignAssignmentStatement = @{
Enable = $true
CheckHashtable = $true
}
}
}