Skip to content

Commit 9b3f475

Browse files
authored
docs: fix indent_root_array type to bool instead of int (#266)
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 8653f35 commit 9b3f475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The basic formatter is a barebones formatter that simply takes the data provided
8787
| `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. |
8888
| `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) |
8989
| `array_indent` | int | = indent | Set a different indentation level for block sequences specifically. |
90-
| `indent_root_array` | int | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. |
90+
| `indent_root_array` | bool | false | Tells the formatter to indent an array that is at the lowest indentation level of the document. |
9191
| `disable_alias_key_correction` | bool | false | Disables functionality to fix alias nodes being used as keys. See #247 for details. |
9292
| `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. |
9393

0 commit comments

Comments
 (0)