Skip to content

Commit 31610b5

Browse files
Workaround PSSA #1187 by defaulting to NoIndentation (#1816)
1 parent 996764f commit 31610b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@
647647
"IncreaseIndentationAfterEveryPipeline",
648648
"NoIndentation"
649649
],
650-
"default": "IncreaseIndentationForFirstPipeline",
650+
"default": "NoIndentation",
651651
"description": "Multi-line pipeline style settings."
652652
},
653653
"powershell.codeFormatting.whitespaceBeforeOpenBrace": {

src/settings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function load(): ISettings {
135135
openBraceOnSameLine: true,
136136
newLineAfterOpenBrace: true,
137137
newLineAfterCloseBrace: true,
138-
pipelineIndentationStyle: PipelineIndentationStyle.IncreaseIndentationForFirstPipeline,
138+
pipelineIndentationStyle: PipelineIndentationStyle.NoIndentation,
139139
whitespaceBeforeOpenBrace: true,
140140
whitespaceBeforeOpenParen: true,
141141
whitespaceAroundOperator: true,

0 commit comments

Comments
 (0)