Automic VaultAutomic Vault

brew

使用 Homebrew 安装 sql-lint

查看 sql-lint 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sql-lint

local Homebrew formula metadata

概览

软件包摘要

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

命令和别名

  • sql-lint

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sql-lintcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:sql-lint
版本1.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sql-lint
主页https://github.com/joereynolds/sql-lint
仓库https://github.com/joereynolds/sql-lint
上游文档https://github.com/joereynolds/sql-lint#readme
许可证MIT
源码归档https://registry.npmjs.org/sql-lint/-/sql-lint-1.0.2.tgz
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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