Automic VaultAutomic Vault

brew

Install wartremover with Homebrew

Flexible Scala code linting tool. Version 3.6.1 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install wartremover

local Homebrew formula metadata

overview

Package summary

Flexible Scala code linting tool

Commands and aliases

  • wartremover

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
wartremovercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.6.1
manager updated2026-07-01
local dataok
upstreamcurrent
latest detectedv3.6.1

https://github.com/wartremover/wartremover

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:wartremover
Version3.6.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/wartremover
Homepagehttps://www.wartremover.org/
Repositoryhttps://github.com/wartremover/wartremover
Upstream docshttps://github.com/wartremover/wartremover#readme
LicenseApache-2.0
Source archivehttps://github.com/wartremover/wartremover/archive/refs/tags/v3.6.1.tar.gz
Last updated2026-07-01T10:37:53Z
Pulseupdated
Dependenciesopenjdk
Build dependenciessbt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewartremover
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment