macOS
brew install sql-lintlocal Homebrew formula metadata
brew
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
brew install sql-lintlocal Homebrew formula metadata
overview
SQL linter to do sanity checks on your queries and bring errors back from the DB
history
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.
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.
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.
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`.
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
.sql-lint.json~/.config/sql-lint/config.jsonCredential-bearing paths to review before unattended agent runs.
.sql-lint.json~/.config/sql-lint/config.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sql-lint | cli | global executable |
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.
https://github.com/joereynolds/sql-lint
install metadata
| Package key | brew:sql-lint |
|---|---|
| Version | 1.0.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sql-lint |
| Homepage | https://github.com/joereynolds/sql-lint |
| Repository | https://github.com/joereynolds/sql-lint |
| Upstream docs | https://github.com/joereynolds/sql-lint#readme |
| License | MIT |
| Source archive | https://registry.npmjs.org/sql-lint/-/sql-lint-1.0.2.tgz |
| Dependencies | node |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sql-lint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.