sql-lint
« Back to VersTracker
Description:
SQL linter to do sanity checks on your queries and bring errors back from the DB
Type: Formula  |  Latest Version: 1.0.2@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 453  |  Forks: 44  |  Language: TypeScript  |  Category: Developer tools
Tags: sql linter developer-tools database code-quality
Install: brew install sql-lint
About:
sql-lint is a static analysis tool that validates SQL queries for syntax errors, style violations, and database-specific rules. It connects to a live database to check for missing tables or columns, ensuring queries are correct before execution. This helps developers catch mistakes early and maintain consistent SQL standards across projects.
Key Features:
  • Real-time database connection for schema validation
  • Configurable linting rules and style guides
  • Support for multiple database systems (MySQL, PostgreSQL)
  • Integration with CI/CD pipelines and editors
Use Cases:
  • Validating SQL queries in development before running them
  • Enforcing team-wide SQL style guidelines in code reviews
  • Automated SQL quality checks in continuous integration
Alternatives:
  • SQLFluff – More comprehensive linter with extensive dialect support and formatting capabilities
  • sqlcheck – Focuses on anti-patterns and performance issues rather than syntax validation
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 1.0.2 0 VERSION_BUMP 83223f74
Sep 13, 2024 5:10am 0 VERSION_BUMP b58dfb77