Replies: 2 comments
-
Interesting question. There might be as many preferences as there are people :-) I use pretty much as you do. I just add
Well, the output will be ugly, if the file is very different from the desired standard indentation. If you edit the JSON files by hand, there'll probably be only small differences to the ideal format and the output will be legible, for example:
I wonder if the legibility of the diff output woud improve by using a different tool, maybe a JSON-specific diff? But even if the diff is long and overwhelming, it's easy to fix the file formatting by
Once fixed, the output of
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Firstly, thank you for this project!
How would you suggest to use jsonlint as part of CI?
I'm not managing to get nice output for github actions
The best I got to is
But the output is not pretty and a bit hard to work with...
Thanks,
Simon
Beta Was this translation helpful? Give feedback.
All reactions