opral / inlang-message-ui-components

Issue tracker for UI components
0 stars 0 forks source link

settings component reformats my settings when using sherlock #60

Open felixhaeberle opened 6 months ago

felixhaeberle commented 6 months ago

Context

settings component reformats my settings when using sherlock

Bildschirmfoto 2024-05-08 um 18.39.45.png

Proposal

can we stop settings component reformatting my settings when using sherlock?

NilsJacobsen commented 6 months ago

Well, good question. The component rn has no logic around that. It only gets a json uses typical json functions and returns a new one that is valid json.

Is the former formatting caused by a formatting automation or a manual formatting? Will it appear again after you agreed on the new formatting?

felixhaeberle commented 6 months ago

This is our main project.inlang in the monorepo root. It deletes thew newline and also breaks arrays in another way.

Bildschirmfoto 2024-05-13 um 10 44 12

I guess it should respect the prettier settings of the project.