Skip to content
项目

quarylabs/sqruff has 1,421 GitHub stars and 78 forks. GitHot measured +2 stars in 24 hours and +4 in 7 days. Last checked 2026-11-12 21:23 UTC. Last push 2026-11-01.

这些数字如何统计

Fast SQL formatter/linter

实测星标增长

24小时
+2
7天
+4
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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:

探索相关项目