# wartremover/wartremover

Flexible Scala code linting tool

Repository: https://github.com/wartremover/wartremover
Canonical: https://ross.abutalabs.com/products/wartremover
Homepage: https://www.wartremover.org/
Language: Scala
License: Apache-2.0
License Family: permissive
Topics: scala, compiler-plugin, macros, linter
Last push: 2026-08-31T23:19:14+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 4988, "days_push": 2, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1104, forks 116 (observed 2026-09-01T02:14:08.346326+00:00)

## What it is
WartRemover is a flexible Scala code linting tool implemented as a compiler plugin, with an sbt plugin for easy integration. It flags unsafe or error-prone Scala language features (like null, var, Any) via configurable 'warts' that can be errors, warnings, or suppressed.

## Use cases
- lint scala code for unsafe constructs like null and var
- enforce coding standards in a scala build
- ban error-prone scala features at compile time
- write custom lint rules for scala
- integrate static analysis into sbt builds

## When to choose
- you want compile-time enforcement of safe Scala practices
- you use sbt and want a pluggable linter with configurable rules
- you need custom lint rules via macros or compiler plugin API

## When to avoid
- you need a general-purpose formatter rather than a linter
- your project is not on the JVM or not written in Scala
- you want IDE-only inspections without build integration

## Facets
- artifact type: library
- maturity: active
- function: linter, compiler, developer-tools
- domain: developer-tools, programming-languages, testing
- platform: jvm, cli
- tags: scala, compiler-plugin, static-analysis, sbt-plugin, code-quality

## Member repositories
- wartremover/wartremover (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:08.346326+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:30.043493+00:00, confidence not recorded.
  - readme: https://github.com/wartremover/wartremover (fetched 2026-09-01T02:14:08.346326+00:00, sha 99b6efacf936)
  - homepage: https://www.wartremover.org/ (fetched 2026-08-29T12:48:05.228358+00:00, sha 6bde05ad31ba)
  - site_page: https://www.wartremover.org/doc/install-setup.html (fetched 2026-08-29T12:48:05.230635+00:00, sha 9c5225f654c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
