pkg.soopen package index

brew / 排名 6389

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

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-lint可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本1.0.2
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:sql-lint
版本1.0.2
软件包管理器Homebrew
主页https://github.com/joereynolds/sql-lint
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation