WartRemover: a flexible scala linter

WartRemover takes the pain out of writing scala by removing some of the language’s nastier features.

Its main goal is to help you write safe and correct software without having to constantly double-check yourself.

If you want to get started right away, head over to Installation & Setup. If you want to see all that Wartremover has to offer check out the full list of warts.

[error] /tmp/src/main/scala/test/Foo.scala:2: [wartremover:Null] null is disabled
[error] 	val foo = null
[error] 	          ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed

Project Information

Wartremover is released under the Apache 2.0 license, the code is on GitHub, the documentation is on GitHub Pages, and releases are on Maven Central. It is tested against the three latest versions of Scala (2.12, 2.13, 3).

Where to Get Help

Feel free to ask questions in Wartremover’s Gitter channel.

Issues are managed using GitHub Issues.