sqruff
« Back to VersTracker
Description:
Fast SQL formatter/linter
Type: Formula  |  Tracked Since: Dec 27, 2025
Links: Homepage  |  GitHub  |  Docs  |  formulae.brew.sh
Stars: 1,153  |  Forks: 47  |  Language: Rust  |  Category: Developer tools
Tags: sql formatter linter rust developer-tools
Install: brew install sqruff
About:
Sqruff is a command-line tool written in Rust that formats and lints SQL code. It enforces consistent style and identifies potential errors or anti-patterns in SQL queries. Its primary value is providing fast, reliable SQL code quality checks directly in the development workflow.
Key Features:
  • Fast SQL formatting and linting
  • Written in Rust for performance and reliability
  • Command-line interface for CI/CD integration
  • Configurable style rules
  • Syntax error detection
Use Cases:
  • Enforcing SQL style guides across a development team
  • Automated SQL code quality checks in CI/CD pipelines
  • Quickly formatting and cleaning up ad-hoc SQL queries
Alternatives:
  • sqlfluff – More mature Python-based SQL linter with extensive dialect support, while Sqruff focuses on Rust-based speed.
  • prettier-plugin-sql – A plugin for the Prettier code formatter, whereas Sqruff is a standalone, specialized tool.
Version History
Detected Version Rev Change Commit
Dec 27, 2025 11:24pm 0 META b4adce24
Sep 14, 2025 4:03am 0 VERSION_BUMP a20b6783