Skip to content

Commit

Permalink
Adds sqlfluff to lintstaged (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 authored Mar 27, 2024
1 parent 7dc3e86 commit 0bf713a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

0 comments on commit 0bf713a

Please sign in to comment.