File tree Expand file tree Collapse file tree 1 file changed +72
-0
lines changed
Expand file tree Collapse file tree 1 file changed +72
-0
lines changed Original file line number Diff line number Diff line change 1+ @ {
2+ Rules = @ {
3+ PSAlignAssignmentStatement = @ {
4+ Enable = $true
5+ CheckHashtable = $true
6+ }
7+ PSAvoidLongLines = @ {
8+ Enable = $false
9+ MaximumLineLength = 150
10+ }
11+ PSAvoidSemicolonsAsLineTerminators = @ {
12+ Enable = $true
13+ }
14+ PSPlaceCloseBrace = @ {
15+ Enable = $true
16+ NewLineAfter = $false
17+ IgnoreOneLineBlock = $true
18+ NoEmptyLineBefore = $false
19+ }
20+ PSPlaceOpenBrace = @ {
21+ Enable = $true
22+ OnSameLine = $true
23+ NewLineAfter = $true
24+ IgnoreOneLineBlock = $true
25+ }
26+ PSProvideCommentHelp = @ {
27+ Enable = $true
28+ ExportedOnly = $false
29+ BlockComment = $true
30+ VSCodeSnippetCorrection = $false
31+ Placement = ' begin'
32+ }
33+ PSUseConsistentIndentation = @ {
34+ Enable = $true
35+ IndentationSize = 4
36+ PipelineIndentation = ' IncreaseIndentationForFirstPipeline'
37+ Kind = ' space'
38+ }
39+ PSUseConsistentWhitespace = @ {
40+ Enable = $true
41+ CheckInnerBrace = $true
42+ CheckOpenBrace = $true
43+ CheckOpenParen = $true
44+ CheckOperator = $true
45+ CheckPipe = $true
46+ CheckPipeForRedundantWhitespace = $true
47+ CheckSeparator = $true
48+ CheckParameter = $true
49+ IgnoreAssignmentOperatorInsideHashTable = $true
50+ }
51+ }
52+ ExcludeRules = @ (
53+ ' PSUseConsistentWhitespace'
54+ )
55+ IncludedRules = @ (
56+ ' PSAvoidSemicolonsAsLineTerminators'
57+ ' PSPlaceCloseBrace'
58+ ' PSPlaceOpenBrace'
59+ ' PSProvideCommentHelp'
60+ ' PSUseConsistentIndentation'
61+ )
62+ Severity = @ (
63+ ' Error'
64+ ' Warning'
65+ )
66+ SourceType = @ (
67+ ' Builtin'
68+ )
69+ SourceName = @ (
70+ ' PS'
71+ )
72+ }
You can’t perform that action at this time.
0 commit comments