Skip to content

Use consistent indentation in YAML files #147

Description

@nathanjmcdougall

Motivation
Currently, the default is 4 spaces for map values and 2 spaces for sequence items.

Summary of desired enhancement
We should move to 2 spaces for both. Besides making the indentation scheme simpler for a user, I have also noticed the following compatibility enhancements:

  • LLM code completion (e.g. GitHub Copilot) seems to be design to use consistent indentation and doesn't cope well with the current approach
  • VS Code automatically detects indentation and applies a formatter (at least with my config) but it is not coping with the mixed indentation approach.

Activity

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

Metadata

Metadata

Labels

blockedAnother issue is preventing progressenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions