Skip to content

Stick to one Style of indenting Arrays #4

@cocker-cc

Description

@cocker-cc

For YAML there are two equally valid styles of indenting Arrays:
Elements indenting the Dash:

a:
  - bli
  - bla
  - blubb

Elements not indenting the Dash:

b:
- schni
- schna
- schnuck

yaml-sort should stick with one of them. As the Output of Ruby's Hash#to_yaml uses "not indenting Array-Elements" I strongly prefer this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions