Closed B4Dmonkey closed 1 month ago
Thanks for reporting, but I should point out that you're using a pretty outdated version of SQL Formatter library (the latest version is 15.x). Perhaps also read the FAQ.
However this problem is also present in the latest version. There's an old issue open for this #444. So I'm closing this as duplicate.
I might suggest you instead give a try to prettier-plugin-sql-cst which does not have this issue and has in general pretty solid SQLite support.
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Usage
Additional information When I'm running the formatter it's inserting a space for sqlc.embed(transactions). This is an issue because it breaks sqlc's compilation. As best I can tell theres no configuration to prevent inserting this space.