[WIP] Plugin for prettier to support formatting of PostgreSQL-flavour SQL, including function bodies in SQL, pgSQL, PLV8, plpython, etc.
277
stars
5
forks
source link
Alternative formatters before this is ready #28
Open
karlhorky opened 10 months ago
While we're waiting for
prettier-plugin-pg
to be ready (see https://github.com/benjie/prettier-plugin-pg/issues/10) here are some alternatives that you may have success with already today:prettier-plugin-embed
andprettier-plugin-sql
by @JounQin and @Sec-ant - usessql-formatter
by @neneeslint-plugin-sql
andeslint-plugin-unicorn
by @gajus, @sindresorhus, @fregante, @mmkal, @fisker and @npdev45, but very opinionated / not so configurable - usespg-formatter
by @gajus@potygen/prettier-plugin-pgsql
by @ivank - uses custom Prettier AST formatter