pkg.soopen package index

brew / 排名 6862

使用 Homebrew 安装 wartremover

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wartremover

local Homebrew formula metadata

概览

软件包摘要

Flexible Scala code linting tool

命令和别名

  • wartremover

历史

项目历史与用法

WartRemover is a Scala linting tool focused on compile-time detection of language features and idioms that a project wants to forbid. Its package-nerd identity is unusually direct: individual checks are called "warts", and users opt into sets of warts as errors or warnings in sbt, scalac, or the standalone command-line tool.

项目历史

The public GitHub repository was created on January 5, 2013. Brian McKenna's 2013 write-up for WartRemover 0.4 described a rewrite from a linter for features he considered bad into a more flexible framework for lint rules over Scala compiler trees, with wrappers for macros, the command line, and the compiler plugin.

The project later standardized around the wartremover organization and the wartremover.org documentation site. Current documentation presents the sbt plugin as the normal entry point, while still documenting use as a command-line tool, a manually configured compiler plugin, and a macro-derived checker.

采用历史

WartRemover occupies the compiler-plugin side of the Scala linting ecosystem. Scala Center's Scalafix documentation compares it with Scalafix, Scalastyle, and IntelliJ inspections, noting that WartRemover has more linter rules out of the box than Scalafix but does not automatically fix code.

使用方式

Typical use is to add the sbt plugin and then configure `wartremoverErrors` or `wartremoverWarnings` in `build.sbt`. Projects commonly enable a stable or custom subset of warts, suppress checks with annotations for exceptional cases, or exclude generated source directories.

为什么软件包爱好者会关心

For package managers, WartRemover represents the Scala compiler-plugin era of code-quality tooling: it is not just a formatter or external scanner, but a package that participates in compilation and can make disallowed constructs fail the build.

时间线

  • 2013-01-05: Public GitHub repository created.
  • 2013: WartRemover 0.4 write-up describes the flexible rule/traverser design.
  • 2020s: Documentation continues to support sbt, command-line, manual compiler-plugin, and macro-based usage.

Related projects

  • Scalafix, Scalastyle, and IntelliJ Scala inspections cover adjacent Scala linting and refactoring workflows, while WartRemover's distinctive niche is compiler-driven configurable warts.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wartremover可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:wartremover
版本3.6.1
软件包管理器Homebrew
主页https://www.wartremover.org/
仓库https://github.com/wartremover/wartremover
最后更新2026-07-01T10:37:53Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

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