Skip to content

Commit 64aba21

Browse files
Workaround PSSA #1187 by defaulting to NoIndentation (#1816)
1 parent 2607974 commit 64aba21

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
@@ -652,7 +652,7 @@
652652
"IncreaseIndentationAfterEveryPipeline",
653653
"NoIndentation"
654654
],
655-
"default": "IncreaseIndentationForFirstPipeline",
655+
"default": "NoIndentation",
656656
"description": "Multi-line pipeline style settings."
657657
},
658658
"powershell.codeFormatting.whitespaceBeforeOpenBrace": {

src/settings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export function load(): ISettings {
141141
openBraceOnSameLine: true,
142142
newLineAfterOpenBrace: true,
143143
newLineAfterCloseBrace: true,
144-
pipelineIndentationStyle: PipelineIndentationStyle.IncreaseIndentationForFirstPipeline,
144+
pipelineIndentationStyle: PipelineIndentationStyle.NoIndentation,
145145
whitespaceBeforeOpenBrace: true,
146146
whitespaceBeforeOpenParen: true,
147147
whitespaceAroundOperator: true,

0 commit comments

Comments
 (0)