Skip to content

Commit cbf3f2a

Browse files
authored
Change Whitespace settings to camelCase (#1867)
* Set settings to camelCase * Update settings interface
1 parent 078efd2 commit cbf3f2a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -675,12 +675,12 @@
675675
"default": true,
676676
"description": "Adds a space after a separator (',' and ';')."
677677
},
678-
"powershell.codeFormatting.WhitespaceInsideBrace": {
678+
"powershell.codeFormatting.whitespaceInsideBrace": {
679679
"type": "boolean",
680680
"default": true,
681681
"description": "Adds a space after an opening brace ('{') and before a closing brace ('}')."
682682
},
683-
"powershell.codeFormatting.WhitespaceAroundPipe": {
683+
"powershell.codeFormatting.whitespaceAroundPipe": {
684684
"type": "boolean",
685685
"default": true,
686686
"description": "Adds a space before and after the pipeline operator ('|')."

src/settings.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export interface ICodeFormattingSettings {
5050
whitespaceBeforeOpenParen: boolean;
5151
whitespaceAroundOperator: boolean;
5252
whitespaceAfterSeparator: boolean;
53-
WhitespaceInsideBrace: true;
54-
WhitespaceAroundPipe: true;
53+
whitespaceInsideBrace: true;
54+
whitespaceAroundPipe: true;
5555
ignoreOneLineBlock: boolean;
5656
alignPropertyValuePairs: boolean;
5757
useCorrectCasing: boolean;
@@ -146,8 +146,8 @@ export function load(): ISettings {
146146
whitespaceBeforeOpenParen: true,
147147
whitespaceAroundOperator: true,
148148
whitespaceAfterSeparator: true,
149-
WhitespaceInsideBrace: true,
150-
WhitespaceAroundPipe: true,
149+
whitespaceInsideBrace: true,
150+
whitespaceAroundPipe: true,
151151
ignoreOneLineBlock: true,
152152
alignPropertyValuePairs: true,
153153
useCorrectCasing: false,

0 commit comments

Comments
 (0)