Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Flexible Scala code linting tool

NotificationsYou must be signed in to change notification settings

Randgalt/wartremover

 
 

Repository files navigation

Build Status

Join us on gitter

WartRemover is a flexible Scala code linting tool.

Documentation

Documentation for Wartremover is availablehere.

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 tothe Scala compiler will show code like the following:

// println("Hello world")package$line4 {object$readextends scala.AnyRef {def<init>(): $line4.$read.type= {      $read.super.<init>();      ()    };object$iwextends scala.AnyRef {def<init>():type= {        $iw.super.<init>();        ()      };object$iwextends scala.AnyRef {def<init>():type= {          $iw.super.<init>();          ()        };private[this]valres1:Unit= scala.this.Predef.println("Hello world");        <stable> <accessor>defres1:Unit= $iw.this.res1      }    }  }}

Adding the generated code to an issue is very useful for debugging.

License

The Apache Software License, Version 2.0

About

Flexible Scala code linting tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala86.7%
  • Shell13.3%

[8]ページ先頭

©2009-2025 Movatter.jp