Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The basic formatter is a barebones formatter that simply takes the data provided
| `eof_newline` | bool | false | Always add a newline at end of file. Useful in the scenario where `retain_line_breaks` is disabled but the trailing newline is still needed. |
| `strip_directives` | bool | false | [YAML Directives](https://yaml.org/spec/1.2.2/#3234-directives) are not supported by this formatter. This feature will attempt to strip the directives before formatting and put them back. [Use this feature at your own risk.](#strip_directives) |
| `array_indent` | int | = indent | Set a different indentation level for block sequences specifically. |
| `indent_root_array` | int | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. |
| `indent_root_array` | bool | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. |
| `disable_alias_key_correction` | bool | false | Disables functionality to fix alias nodes being used as keys. See #247 for details. |
| `force_array_style` | `flow`, `block`, or empty | empty | If set, forces arrays to be output in a particular style, either `flow` (`[]`) or `block` (`- x`). If unset, the style from the original document is used. |

Expand Down