Automic VaultAutomic Vault

brew

Install sql-lint with Homebrew

SQL linter to do sanity checks on your queries and bring errors back from the DB. Version 1.0.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install sql-lint

local Homebrew formula metadata

overview

Package summary

SQL linter to do sanity checks on your queries and bring errors back from the DB

Commands and aliases

  • sql-lint

history

Project history and usage

sql-lint is a command-line SQL linter for MySQL and PostgreSQL-oriented workflows. Its official documentation positions it as a sanity-check tool that reports local lint findings and can also bring back database-server errors.

Project history

The GitHub repository was created in July 2018 and later moved its main development branch to `typescript`. The project reached a 1.0.0 release in June 2022, when the maintainer described it as stable and added command-line support for ignoring selected lint errors.

Adoption history

The README documents npm and Yarn global installation, downloadable release binaries, and editor integration through external-tool support. The release history shows packaged Linux, macOS, and Windows binaries, which made the tool usable outside Node-centric setups.

How it is used

sql-lint is usually run against files, directories, or stdin, for example `sql-lint .`, `sql-lint create-person.sql`, or piping a query into the command. Its configuration can be passed through CLI flags, discovered as `.sql-lint.json` while walking up from the current directory, or read from `~/.config/sql-lint/config.json`.

Why package nerds care

Package nerds care about sql-lint because it is a small, composable CLI that brings SQL review into shells, editor integrations, and CI-style checks without requiring a full IDE. Its XDG-style global config and project-local config discovery match common Unix packaging expectations.

Timeline

  • 2018: GitHub repository created.
  • 2020: v0.0.14 release improved recursive directory linting and simplified CLI arguments.
  • 2022: v1.0.0 release declared the project stable.
  • 2025: v1.0.1 release added directory-local config support and more SQL statement support.

Related projects

  • The README lists editor integration through ALE for Vim and Neovim and an Inline SQL extension for VS Code. It also overlaps culturally with SQL Language Server through the same SQL editing and linting niche.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.sql-lint.json~/.config/sql-lint/config.json

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
.sql-lint.json~/.config/sql-lint/config.json

executables

Installed executables

CommandKindExposureNote
sql-lintcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.0.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/joereynolds/sql-lint

install metadata

Package metadata

Package keybrew:sql-lint
Version1.0.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/sql-lint
Homepagehttps://github.com/joereynolds/sql-lint
Repositoryhttps://github.com/joereynolds/sql-lint
Upstream docshttps://github.com/joereynolds/sql-lint#readme
LicenseMIT
Source archivehttps://registry.npmjs.org/sql-lint/-/sql-lint-1.0.2.tgz
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesql-lint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment