2 ms·
Most of the SQLFluff style was based around the Mozilla SQL style guide and the dbt labs style guide: https://docs.telemetry.mozilla.org/concepts/sql_style.html
by amshank 5y ago
Most of the SQLFluff style was based around the Mozilla SQL style guide and the dbt labs style guide:
https://docs.telemetry.mozilla.org/concepts/sql_style.html https://docs.telemetry.mozilla.org/concepts/sql_style.html
https://github.com/dbt-labs/corp/blob/master/dbt_style_guide.md https://github.com/dbt-labs/corp/blob/master/dbt_style_guide...
The GitLab SQL style guide isn't far off either:
https://about.gitlab.com/handbook/business-technology/data-team/platform/sql-style-guide/ https://about.gitlab.com/handbook/business-technology/data-t...
Rather than supporting _all_ ways of formatting SQL, the aim of the tool was to fairly flexibly support the most mainstream ones with a view to becoming more opinionated in future to converge on a more unified style in future. Similar to what black has done with python.