Skip to content

Commit 1ebce19

Browse files
ljunkieCopilot
andauthored
Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0fe4f70 commit 1ebce19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ All boolean, string, and integer [`bsfmt.json`](#bsfmtjson-options) options are
8787
|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`|
8888
|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()`).|
8989
|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)`).|
9191
|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)|
9292
|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 |
9393
|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

Comments
 (0)