File tree 1 file changed +43
-0
lines changed
1 file changed +43
-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
+ )
9
+
10
+ Rules = @ {
11
+ PSPlaceOpenBrace = @ {
12
+ Enable = $true
13
+ OnSameLine = $true
14
+ NewLineAfter = $true
15
+ IgnoreOneLineBlock = $true
16
+ }
17
+
18
+ PSPlaceCloseBrace = @ {
19
+ Enable = $true
20
+ NewLineAfter = $false
21
+ IgnoreOneLineBlock = $true
22
+ NoEmptyLineBefore = $false
23
+ }
24
+
25
+ PSUseConsistentIndentation = @ {
26
+ Enable = $true
27
+ IndentationSize = 4
28
+ }
29
+
30
+ PSUseConsistentWhitespace = @ {
31
+ Enable = $true
32
+ CheckOpenBrace = $true
33
+ CheckOpenParen = $true
34
+ CheckOperator = $true
35
+ CheckSeparator = $true
36
+ }
37
+
38
+ PSAlignAssignmentStatement = @ {
39
+ Enable = $true
40
+ CheckHashtable = $true
41
+ }
42
+ }
43
+ }
You can’t perform that action at this time.
0 commit comments