Closed line-o closed 1 year ago
@joewiz I really just did it by hand in this case. :)
Is there something off?
Ah! I had assumed you'd used a tool and was really, er, just curious.
This is the kind of thing that strikes me as lintable, but rigging such a checker-and-fixer up is beyond my skills.
I even to started on a prettier formatter for xquery quite a while back.
That would be cool! As with JSON, oXygen can format XQuery, though as you might imagine it doesn't necessarily match everyone's stylistic preferences...
Yes, I can, as does XQLint. There is also the XQDoc rules on formatting XQuery. I think having a shared formatting rule - automatically applied when committing code - would be a major milestone.
But we digress :)
@line-o I'm curious, what tool did you use to format the JSON? (I use oXygen's format & indent.)