Skip to content

Commit 0f226a3

Browse files
committed
docs: Add trailingComma ToString option
1 parent ce14587 commit 0f226a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/03_options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,5 @@ Used by: `stringify()` and `doc.toString()`
166166
| nullStr | `string` | `'null'` | String representation for `null` values. |
167167
| simpleKeys | `boolean` | `false` | Require keys to be scalars and always use implicit rather than explicit notation. |
168168
| singleQuote | `boolean ⎮ null` | `null` | Use 'single quote' rather than "double quote" where applicable. Set to `false` to disable single quotes completely. |
169+
| trailingComma | `boolean` | `false` | Add a trailing comma after the last entry in a flow collection that's split across multiple lines. |
169170
| trueStr | `string` | `'true'` | String representation for `true` values. |

0 commit comments

Comments
 (0)