Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: harmonize format of YAML samples in README.md #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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