Skip to content

Reaching a stable list formatting requires formatting twice #188

@TomaSajt

Description

@TomaSajt

Description

Just a small thing I noticed while packaging stuff for Nixpkgs.

Small example input

[ "hello"

]

Expected output

[ "hello" ]

Actual output

after first formatting

[
  "hello"
]

then after formatting again, it gives the correct

[ "hello" ]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingidempotencyOutput changes on second formatting
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions