diff --git a/.lintstagedrc b/.lintstagedrc index f7b238067..f7a20ee26 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -7,5 +7,9 @@ "**/*.{md,json}": [ "prettier --ignore-path .gitignore --write", "prettier --ignore-path .gitignore --log-level warn --check" + ], + "warehouse/dbt/**/*.sql": [ + "poetry run sqlfluff fix -f --dialect bigquery", + "poetry run sqlfluff lint --dialect bigquery" ] } \ No newline at end of file