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
In general sqlfluff is just a nicer and more well-mantained formatter that handles edge cases more robustly IMO. Faced a few cases where sql-formatter is just not doing things consistently, for example:
I am not having trouble with sql-formatter right now. So I don't plan to support sqlfluff anytime soon. I will consider supporting it as more requests come in.
If we do decide to support more than one formatter, I will allow users to pass format commands, and allow them to use the formatter of their choice.
https://github.com/sqlfluff/sqlfluff
In general sqlfluff is just a nicer and more well-mantained formatter that handles edge cases more robustly IMO. Faced a few cases where sql-formatter is just not doing things consistently, for example:
In sqlfluff, they're always consistent. The CLI tool is also more CI-friendly as it can print diagnostics if there are any non-conformant sql files:
sqlfluff can also be configured a lot more flexibly: https://docs.sqlfluff.com/en/stable/reference/rules.html
The text was updated successfully, but these errors were encountered: