Skip to content

Use a diff writer instead of complete override for CSON editor config conversions #756

Open
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Forking off of #744: I can't find any kind of CSON diff writer equivalent to jsondiffpatch... does such a thing exist?

Existing Behavior

Atom config file writes completely rewrite the target file.

Change Proposal

Take in the benefits of a diff patch: basically #744 but for JSON files.

One of two possible cases is possible:

  • A CSON diff patcher exists and is available on npm, and tslint-to-eslint-config should use it
  • ☝ does not exist, and could be written to resolve this issue (note: please write it as a separate npm package, not a part of this repo -- separation of concerns!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions