You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for making and maintaining this. This largely matches the "pretty" format I was looking for.
One problem I've come across is trailing white spaces behind commas at the end of lines. As a solution, I've been cleaning it up with sed....which is a little hacky, but I've been unable to modify the code the way I'd like it. The reason this is a problem is because at work we have git hooks in place that flag on formatting issues - and this is one.
sed -i "" 's/[[:space:]]*$//' file.json
If you could assist, that would be appreciated.
Thanks,
James
The text was updated successfully, but these errors were encountered:
First, thanks for making and maintaining this. This largely matches the "pretty" format I was looking for.
One problem I've come across is trailing white spaces behind commas at the end of lines. As a solution, I've been cleaning it up with sed....which is a little hacky, but I've been unable to modify the code the way I'd like it. The reason this is a problem is because at work we have git hooks in place that flag on formatting issues - and this is one.
sed -i "" 's/[[:space:]]*$//' file.json
If you could assist, that would be appreciated.
Thanks,
James
The text was updated successfully, but these errors were encountered: