Re:Sqlfmt: an opinionated online SQL formatter
by joobus on Thursday September 27, 2018 @09:58PM
(#18090401)
I wish they didn't stop development: https://github.com/benjie/prettier-plugin-pg
I use plv8 very often, and this would be perfect.
Prettier actually has a beta Postgres plugin, but progress on it seems to have stalled. Hooking it up with sqlfmt would be neat - then prettier could format SQL inside other languages too, like code fences in Markdown or template literals in JS.