fnando / vscode-linter

Extension for code linting, all in one package. New linters can be easily added through an extension framework.

Home Page:https://marketplace.visualstudio.com/items?itemName=fnando.linter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add DBT "jinja-sql" files to sqlfluff linter

Startouf opened this issue · comments

DBT is a popular framework for data modeling and transformations, is is built on SQL with jinja macros, and their official plugin extension records a file type "Jinja SQL", which can be linted with sqlfluff with the DBT templater

Sqlfluff officially supports DBT

# .sqlfluff
[sqlfluff]
dialect = bigquery
templater = dbt

It would be great to add this compatibility out of the box when installing the extension

Just released v0.0.16 with this. :)