Skip to content

Conversation

rpoisel
Copy link

@rpoisel rpoisel commented Mar 2, 2025

Summary

This PR ensures consistent formatting of sample configuration snippets in YAML format.

The format is now similar to the one shown in the official YAML spec; Example 2.12.

Test Plan

I am using shown configuration samples as-is in my personal projects.

@dhruvmanila
Copy link
Member

Thanks for opening this PR!

Can you provide an exact reference in the spec stating this is how it needs to be formatted?

I ran the latest version of prettier (3.5.3) and it formats it as mentioned before this PR.

Regardless, we're using the indented version elsewhere (e.g., in Ruff CI workflow https://github.com/astral-sh/ruff/blob/main/.github/workflows/ci.yaml) so I'd prefer to keep it that way for now.

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.

2 participants