sql-linter repositories

Trending repositories tagged sql-linter, ranked by trending score. Updated daily.

  1. 1
    sqlfluff/sqlfluff

    A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

    GitHub · Python · 10,037 stars · 1,346 forks · +2 stars in 24 hours · Trending score 1.45

  2. 2
    phpmyadmin/sql-parser

    A validating SQL lexer and parser with a focus on MySQL dialect.

    GitHub · PHP · 488 stars · 125 forks · 0 stars in 24 hours · Trending score 0.25

  3. 3
    Goldziher/scythe

    SQL as a first-class language: formatting, linting, security auditing and pre-commit hooks for your .sql files, plus type-safe code generation for 10 languages across 10 databases.

    GitHub · Rust · 75 stars · 6 forks · 0 stars in 24 hours · Trending score 0.19

  4. 4
    orifisher2/sqlike

    CLI, MCP server, GitHub Action and pre-commit hook for sqlike: deterministic SQL analysis and query-equivalence checking. Tokenizes locally, so your real table names and values never leave your machine.

    GitHub · Rust · 8 stars · 0 forks · 0 stars in 24 hours · Trending score 0.10

  5. 5
    ajitpratap0/GoSQLX

    Pure-Go SQL parser, formatter, linter and security scanner for 8 dialects. Zero-copy, race-free, with an LSP and MCP server.

    GitHub · Go · 127 stars · 16 forks · 0 stars in 24 hours · Trending score 0.09

  6. 6
    KARTIKrocks/sqlguard

    Production-safe SQL query analyzer for Go — detects slow queries, N+1, and dangerous SQL patterns at runtime and in CI. Like golangci-lint, but for SQL.

    GitHub · Go · 5 stars · 0 forks · 0 stars in 24 hours · Trending score 0.09

  7. 7
    pushery/sqlens-for-laravel

    Database safety for Laravel on PostgreSQL and MySQL. SQLens lints the SQL your migrations actually emit for lock and downtime risk, audits live schemas, detects drift and security issues, classifies deploy risk, and provides deterministic CI-ready guards with explicit pass, fail, or undetermined results.

    GitHub · PHP · 11 stars · 1 forks · 0 stars in 24 hours · Trending score 0.08

  8. 8
    Analytically-ai/truequery

    The data standard that makes your AI coding agent better at data work.

    GitHub · Python · 10 stars · 1 forks · 0 stars in 24 hours · Trending score 0.02

  9. 9
    mustafaabasaran/planizer

    SQL Server / T-SQL migration linter: validates and explains DDL before it runs — locking (Sch-M), table rewrite vs metadata-only, reversibility, idempotency, failure risk. Deterministic static analysis, offline, CI-ready with SARIF and a GitHub Action. No LLM.

    GitHub · C# · 7 stars · 0 forks · 0 stars in 24 hours · Trending score 0.00