Fast SQL formatter/linter
</picture>
<h1 align="center">sqruff</h1>
sqruff is a SQL linter and formatter written in Rust.
Try it in the browser: https://playground.quary.dev
brew install sqruffFor other platforms (pip, cargo, binary downloads), see the installation guide.
sqruff lint . --dialect postgresCreate a .sqruff file in your project root:
[sqruff]
dialect = postgresThen run without the --dialect flag:
sqruff lint .sqruff ships an LSP server (sqruff lsp) usable from any editor. This repo
maintains two integrations:
editors/codeeditors/zedFull documentation: playground.quary.dev/docs
Key entry points:
No open issues yet, or sync has not completed.