Skip to content

Commit

Permalink
Adds sqlfluff to lintstaged
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 committed Mar 27, 2024
1 parent 18dbe62 commit 0355fb0
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 0355fb0

Please sign in to comment.