Wartremover alternatives and similar packages
Based on the "Tools" category.
Alternatively, view Wartremover alternatives based on common mentions on social networks and blogs.
-
Scurses
Scurses, terminal drawing API for Scala, and Onions, a Scurses framework for easy terminal UI -
fast-string-interpolator
Scala macro that generates ultra-fast string interpolators -
dregrex
Regular expression engine using deterministic finite automata. It supports some Perl-style features and yet retains linear matching time. -
Giter8
command line tool to generate files and directories from templates published on Github
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of Wartremover or a related project?
README
WartRemover
WartRemover is a flexible Scala code linting tool.
Documentation
Documentation for Wartremover is available here.
Reporting Issues
It's very useful to get the tree expanded by the Scala compiler,
rather than the original source. Adding the -Xprint:typer
flag to
the Scala compiler will show code like the following:
// println("Hello world")
package $line4 {
object $read extends scala.AnyRef {
def <init>(): $line4.$read.type = {
$read.super.<init>();
()
};
object $iw extends scala.AnyRef {
def <init>(): type = {
$iw.super.<init>();
()
};
object $iw extends scala.AnyRef {
def <init>(): type = {
$iw.super.<init>();
()
};
private[this] val res1: Unit = scala.this.Predef.println("Hello world");
<stable> <accessor> def res1: Unit = $iw.this.res1
}
}
}
}
Adding the generated code to an issue is very useful for debugging.
License
*Note that all licence references and agreements mentioned in the Wartremover README section above
are relevant to that project's source code only.