Sqlfluff is the linter recommended by dbt. We started copying the recommended rules from dbt, but teams are already using standards defined by them.
We need to define a Sqlfluff linter rules that works for all teams.
- @Mayakp.wiki and their team are using rules defined in this document.
- A file with rules is already defined for Airflow, and it was discussed with some people at that time.
- We also have the data modeling guidelines and naming conventions there which should be followed ideally
Task is done:
- .sqlfluff is created in the dbt-jobs repository and all models in the main branch are following the rules.