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.
[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
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.10, 2.11, 2.12).
Where to Get Help
Feel free to ask questions in Wartremover’s Gitter channel.
Issues are managed using GitHub Issues.