nix: specify dialect for sql-formatter
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9063b87884055a4dc430c62929d70b676a6a6964
This commit is contained in:
parent
170de90c7e
commit
757feae90d
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@
|
||||||
fd "$@" -t f -e css -x prettier --write '{}'
|
fd "$@" -t f -e css -x prettier --write '{}'
|
||||||
|
|
||||||
# Format SQL with sql-format
|
# Format SQL with sql-format
|
||||||
fd "$@" -t f -e css -x sql-formatter '{}'
|
fd "$@" -t f -e sql -x sql-formatter --fix '{}' -l postgresql
|
||||||
|
|
||||||
# Format Markdown with Deno
|
# Format Markdown with Deno
|
||||||
fd "$@" -t f -e md -x deno fmt -q '{}'
|
fd "$@" -t f -e md -x deno fmt -q '{}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue