Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Static Analysis & Code Quality
  3. sleek

sleek

MITTypeScriptvscode-v0.2.3

A CLI tool and VS Code extension for formatting SQL to maintain consistent style and improve readability.

GitHubGitHub
277 stars22 forks0 contributors

What is sleek?

Sleek is a SQL formatting tool that automatically formats SQL code to ensure consistent style and improve readability. It helps developers maintain clean, standardized SQL across projects by offering customizable formatting options and batch processing capabilities.

Target Audience

Database developers, data engineers, and backend developers who write and maintain SQL queries and want to enforce consistent formatting standards.

Value Proposition

Developers choose Sleek for its simplicity, configurability, and seamless integration into workflows via CLI and VS Code extension, eliminating manual SQL formatting efforts.

Overview

Sleek is a CLI tool for formatting SQL. It helps you maintain a consistent style across your SQL code, enhancing readability and productivity.

Use Cases

Best For

  • Enforcing consistent SQL style across team projects
  • Formatting large batches of SQL files using glob patterns
  • Checking if SQL files are already formatted without altering them
  • Integrating SQL formatting into VS Code for real-time formatting
  • Automating SQL formatting in CI/CD pipelines
  • Improving readability of complex nested SQL queries

Not Ideal For

  • Teams working with database-specific SQL dialects like T-SQL or PL/SQL that require specialized formatting rules
  • Developers using IDEs other than VS Code who need built-in SQL formatting extensions
  • Projects requiring advanced formatting features such as line width limits, comment preservation, or complex style guides

Pros & Cons

Pros

Customizable Formatting Options

Sleek allows precise control over indentation spaces and keyword casing, with defaults like 4-space indents and uppercase keywords, making it easy to adapt to team preferences.

Batch Processing with Globs

Supports glob patterns to format multiple SQL files at once, enhancing productivity for large codebases, as shown in the examples with 'queries/*.sql'.

Format Checking Capability

The --check flag enables verification of formatting without altering files, ideal for CI/CD pipelines or pre-commit hooks to enforce style consistency.

VS Code Integration

Available as a VS Code extension for seamless in-editor formatting, improving developer workflow with real-time SQL cleanup.

Cons

Limited Formatting Features

Sleek focuses on basic formatting like indentation and keyword case, lacking support for line wrapping, comment alignment, or database-specific syntax, which might not meet all styling needs.

Dependency on Rust for Installation

While binaries are available, installing via Cargo requires Rust, which could be a barrier for teams not using Rust in their stack, as noted in the installation section.

Single IDE Support

The VS Code extension is the only IDE integration mentioned, limiting usability for developers on other platforms like IntelliJ or Sublime Text without community plugins.

Frequently Asked Questions

Quick Stats

Stars277
Forks22
Contributors0
Open Issues11
Last commit11 months ago
CreatedSince 2023

Tags

#developer-tools#productivity#vscode-extension#command-line-tool#cli-tool#cli#code-formatting#command-line#rust#sql-formatter#formatter#sql

Built With

R
Rust

Included in

Static Analysis & Code Quality14.5k
Auto-fetched 1 day ago

Related Projects

PHP ParserPHP Parser

A PHP parser written in PHP

Stars17,462
Forks1,140
Last commit18 days ago
TypeScript ESLintTypeScript ESLint

:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

Stars16,435
Forks3,041
Last commit2 days ago
pyrightpyright

Static Type Checker for Python

Stars15,694
Forks1,836
Last commit2 days ago
ReviewdogReviewdog

🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

Stars9,687
Forks508
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub