microsoft / microsoft/node-jsonc-parser

Format: ability to provide custom property ordering.

Open
#16 3 comments 0 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Feb 10, 2019.

feature-request
Dominant language
TypeScript
Stars
759
Forks
66
Avg merge
5d 10h
Merged PRs (30d)
7

Description

It would be great if new object additions could be specified with a defined property ordering (in formatting options). Something like the insertion function that exists, but for total ordering of existing objects.

This way adding new objects could retain a canonical property ordering with a single call to modify, without having to piece together multiple modify removals and individual modify inserts.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.