Skip to content
Projects

quarylabs/sqruff has 1,417 GitHub stars and 78 forks. GitHot measured 0 stars in 24 hours and +4 in 7 days. Last checked 2026-11-05 08:18 UTC. Last push 2026-11-01.

How these counts are measured

Fast SQL formatter/linter

Measured star growth

in 24h
0
in 7 days
+4
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Table of contents

  1. Quickstart
  2. Editor integrations
  3. Documentation

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 .

Editor integrations

sqruff ships an LSP server (sqruff lsp) usable from any editor. This repo maintains two integrations:

Documentation

Full documentation: playground.quary.dev/docs

Key entry points:

Explore related projects