Skip to content

Conversation

@braydonk
Copy link
Collaborator

@braydonk braydonk commented May 18, 2025

This PR adds the force_array_style feature to the basic formatter, which allows the user to force either block or flow sequence style in the formatted document.

Fixes #243

braydonk added 5 commits May 18, 2025 11:37
This PR adds the `force_array_style` feature to the basic formatter,
which allows the user to force either `block` or `flow` sequence style
in the formatted document.
@braydonk braydonk merged commit ea03c83 into main May 18, 2025
8 checks passed
steeef pushed a commit to steeef/yamlfmt that referenced this pull request Sep 5, 2025
* formatters/basic: add force_array_style

This PR adds the `force_array_style` feature to the basic formatter,
which allows the user to force either `block` or `flow` sequence style
in the formatted document.

* add the license I forgot

* remove TODO comment I left in

* oops overwrote the test expectation

* readded removed newline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sequence style

1 participant