File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ @ {
2+ IncludeRules = @ (
3+ ' PSPlaceOpenBrace' ,
4+ ' PSPlaceCloseBrace' ,
5+ ' PSUseConsistentWhitespace' ,
6+ ' PSUseConsistentIndentation' ,
7+ ' PSAlignAssignmentStatement' ,
8+ ' PSUseCorrectCasing'
9+ )
10+
11+ Rules = @ {
12+ PSPlaceOpenBrace = @ {
13+ Enable = $true
14+ OnSameLine = $true
15+ NewLineAfter = $true
16+ IgnoreOneLineBlock = $true
17+ }
18+
19+ PSPlaceCloseBrace = @ {
20+ Enable = $true
21+ NewLineAfter = $true
22+ IgnoreOneLineBlock = $true
23+ NoEmptyLineBefore = $false
24+ }
25+
26+ PSUseConsistentIndentation = @ {
27+ Enable = $true
28+ Kind = ' space'
29+ PipelineIndentation = ' IncreaseIndentationForFirstPipeline'
30+ IndentationSize = 4
31+ }
32+
33+ PSUseConsistentWhitespace = @ {
34+ Enable = $true
35+ CheckInnerBrace = $true
36+ CheckOpenBrace = $true
37+ CheckOpenParen = $true
38+ CheckOperator = $true
39+ CheckPipe = $true
40+ CheckPipeForRedundantWhitespace = $false
41+ CheckSeparator = $true
42+ CheckParameter = $false
43+ IgnoreAssignmentOperatorInsideHashTable = $true
44+ }
45+
46+ PSAlignAssignmentStatement = @ {
47+ Enable = $true
48+ CheckHashtable = $true
49+ }
50+
51+ PSUseCorrectCasing = @ {
52+ Enable = $true
53+ }
54+ }
55+ }
You can’t perform that action at this time.
0 commit comments