Currently, the plugin strips the destination JSON of its existing formatting, removing spaces and line breaks. This is a pain when combined with code formatters like Prettier, as it means the affected files are constantly included in commits even if no change has occurred, and it makes diffs hard to read.
The plugin should preserve the original formatting. Preferably it should be aware of any editorconfig or prettierrc files and should implement them over a default format, if possible.
Currently, the plugin strips the destination JSON of its existing formatting, removing spaces and line breaks. This is a pain when combined with code formatters like Prettier, as it means the affected files are constantly included in commits even if no change has occurred, and it makes diffs hard to read.
The plugin should preserve the original formatting. Preferably it should be aware of any editorconfig or prettierrc files and should implement them over a default format, if possible.