You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ All boolean, string, and integer [`bsfmt.json`](#bsfmtjson-options) options are
87
87
|formatInteriorWhitespace|`boolean`|`true`| All whitespace between items is reduced to exactly 1 space character and certain keywords and operators are padded with whitespace. This is a catchall property that will also disable the following rules: `insertSpaceBeforeFunctionParenthesis`, `insertSpaceBetweenEmptyCurlyBraces`, `insertSpaceBetweenFunctionAssignments`, `insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces`|
88
88
|insertSpaceBeforeFunctionParenthesis|`boolean`|`false`| If true, a space is inserted to the left of an opening function declaration parenthesis. (i.e. `function main ()` or `function ()`). If false, all spacing is removed (i.e. `function main()` or `function()`).|
89
89
|insertSpaceBetweenEmptyCurlyBraces|`boolean`|`false`| If true, empty curly braces will contain exactly 1 whitespace char (i.e. `{ }`). If false, there will be zero whitespace chars between empty curly braces (i.e. `{}`) |
90
-
|insertSpaceBetweenFunctionAssignments|`boolean`|`true`| If true, insert spaces between the function name and the assignment. (i.e. `function main(a = true, b = false)` or `function(a = true, b = false)`). If false, assignments will be collapsed (i.e. `function main(a=true, b=false)` or `function(a=true, b=false)`).|
90
+
|insertSpaceBetweenFunctionAssignments|`boolean`|`true`| If true, insert spaces around assignment operators in function parameters. (i.e. `function main(a = true, b = false)` or `function(a = true, b = false)`). If false, assignments will be collapsed (i.e. `function main(a=true, b=false)` or `function(a=true, b=false)`).|
91
91
|insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces|`boolean`|`true`| If true, ensure exactly 1 space after leading and before trailing curly braces. If false, REMOVE all whitespace after leading and before trailing curly braces (excluding beginning-of-line indentation spacing)|
92
92
|insertSpaceBetweenAssociativeArrayLiteralKeyAndColon|`boolean`|`false`| If true, ensure exactly 1 space between an associative array literal key and its colon. If false, all space between the key and its colon will be removed |
93
93
|formatSingleLineCommentType|`"singlequote", "rem", "original"`|`"original"`| Forces all single-line comments to use the same style. If 'singlequote' or falsey, all comments are preceeded by a single quote. This is the default. If `"rem"`, all comments are preceeded by `rem`. If `"original"`, the comment type is unchanged|
0 commit comments