Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>sqruffNew to Visual Studio Code? Get it now.
sqruff

sqruff

Quary

|
1,587 installs
| (0) | Free
sqruff is a SQL linter and formatter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sqruff

CodSpeed Badge

sqruff is a SQL linter and formatter written in Rust.

  • Linting: advanced, configurable SQL linting
  • Formatting: automated, configurable formatting
  • Speed: fast and efficient
  • Portability: easy to integrate into dev workflows

Try it in the browser: https://playground.quary.dev

Quickstart

Install (macOS)

brew install sqruff

For other platforms (pip, cargo, binary downloads), see the installation guide.

Lint a project

sqruff lint . --dialect postgres

Configure a project

Create a .sqruff file in your project root:

[sqruff]
dialect = postgres

Then run without the --dialect flag:

sqruff lint .

Documentation

Full documentation: playground.quary.dev/docs

Key entry points:

  • Installation
  • Usage
  • Configuration
  • Rules
  • CLI reference
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft