File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
139139 private readonly ruleOrder : string [ ] = [
140140 "PSPlaceCloseBrace" ,
141141 "PSPlaceOpenBrace" ,
142- "PSUseWhitespace " ,
142+ "PSUseConsistentWhitespace " ,
143143 "PSUseConsistentIndentation" ] ;
144144
145145 // Allows edits to be undone and redone is a single step.
@@ -334,7 +334,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
334334 ruleSettings [ "IndentationSize" ] = vscode . workspace . getConfiguration ( "editor" ) . get < number > ( "tabSize" ) ;
335335 break ;
336336
337- case "PSUseWhitespace " :
337+ case "PSUseConsistentWhitespace " :
338338 ruleSettings [ "CheckOpenBrace" ] = psSettings . codeFormatting . whitespaceBeforeOpenBrace ;
339339 ruleSettings [ "CheckOpenParen" ] = psSettings . codeFormatting . whitespaceBeforeOpenParen ;
340340 ruleSettings [ "CheckOperator" ] = psSettings . codeFormatting . whitespaceAroundOperator ;
You can’t perform that action at this time.
0 commit comments