macOS
brew install solhintlocal Homebrew formula metadata
安装
brew install solhintlocal Homebrew formula metadata
概览
Linter for Solidity code
历史
Solhint is Protofire's open-source command-line linter for Solidity code, combining style-guide checks with security-oriented validations.
The official README describes Solhint as an open-source project for linting Solidity code and providing both security and style-guide validations. Its package metadata publishes the `solhint` binary and points to the Protofire GitHub repository and documentation site.
The changelog shows active maintenance through the 5.x and 6.x lines, including cache support, hierarchical configuration, Node.js support updates, and new Solidity-specific rules.
Solhint fits the npm-first JavaScript tooling culture around Ethereum projects but is also packaged by Homebrew in the supplied facts. That gives smart-contract developers both a global npm install path and an OS package-manager path for the same CLI.
The official README documents `npm install -g solhint`, `solhint --init` to create `.solhint.json`, and glob-based linting such as `solhint 'contracts/**/*.sol'`. It also supports comments, ignore files, cache mode, plugins, and configurable rule sets.
Solhint matters because Solidity projects are unusually sensitive to compiler versions, style conventions, and auditability. A packaged linter gives CI systems, editors, and local shells a common executable for catching Solidity-specific mistakes before deployment.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
.solhint.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
solhint | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:solhint |
|---|---|
| 版本 | 6.2.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://protofire.github.io/solhint/ |
| 最后更新 | 2026-06-20T18:31:21Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.